
DEXTER'S LAB QUIZ
Authored by Keshav Bhatia
Fun
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The default return type of a function in C is:
float
int
void
char
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid storage class specifier in C?
static
dynamic
volatile
private
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following declarations is wrong in C?
int *ptr;
int a[10];
int func(int a);
int &ref = a;
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these executes faster in C?
i++
++i
Both same
Depends on compiler
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operator is used for scope resolution?
::
->
.
:
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Destructor in C++ is declared using:
~
!
#
$
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operator is used to access members of a structure using a pointer?
.
->
*
&
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?