ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ C - FUNCTIONS MCQ Questions
English
Hindi
Question No. -
31
Report Bug
In C functions the actual expressions / parameters are passed on to formal parameters using the method of call by value result
In C functions the actual expressions / parameters are passed on to formal parameters using the method of call by value result
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
32
Report Bug
Names of functions in two different files linked together must be unique.
Names of functions in two different files linked together must be unique.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
33
Report Bug
Functions that do not contain return statement do not return any value.
Functions that do not contain return statement do not return any value.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
34
Report Bug
The keyword used to transfer control from a function back to the calling function is
The keyword used to transfer control from a function back to the calling function is
A.
switch
switch
B.
goto
goto
C.
go back
go back
D.
return
return
Question No. -
35
Report Bug
void (*ptr)() is a pointer to a function which receives nothing and returns nothing.
void (*ptr)() is a pointer to a function which receives nothing and returns nothing.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
36
Report Bug
Which of the following function declaration need not have a return statement in its body?
Which of the following function declaration need not have a return statement in its body?
A.
int a(char *s)
int a(char *s)
B.
void b(int a[], int n)
void b(int a[], int n)
C.
float *c()
float *c()
D.
short d(long x)
short d(long x)
Question No. -
37
Report Bug
The names of parameters in a function definition and its declaration must be same.
The names of parameters in a function definition and its declaration must be same.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
38
Report Bug
The address of the variable is passed to a function in call by reference.
The address of the variable is passed to a function in call by reference.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
39
Report Bug
Which of the following is the correct order if calling functions in the below code? a = f1(23, 14) * f2(12/4) + f3();
Which of the following is the correct order if calling functions in the below code? a = f1(23, 14) * f2(12/4) + f3();
A.
f1, f2, f3
f1, f2, f3
B.
f3, f2, f1
f3, f2, f1
C.
Order may vary from compiler to compiler
Order may vary from compiler to compiler
D.
None of the above
None of the above
Question No. -
40
Report Bug
A function can have any number of return statements.
A function can have any number of return statements.
A.
TRUE
सही
B.
FALSE
गलत
1
2
3
4
5
6
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad