MCQ Mojo
access_time
menu
Quiz
Web Stories
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
Quiz
Quiz
/
Functions MCQ Quiz Questions and Answers
1.
In ......... method any change in the formal parameters is not reflected back to the actual parameter?
call
return
call by reference
call by value
2.
The starting point for the execution of a program is .........
class
public
main()
void ()
3.
Which of the following is NOT true, related to functions?
The actual parameters can be passed in the form of constants to the formal parameters of value type.
The actual parameters can be passed only as variables to formal parameters of reference type.
The default value for an argument can be given in the form of variable initialization.
The default value for an argument can be given in between the argument list.
4.
In call by value method, the flow of data is always from the ........ statement to the function defintion.
call
function
return
go to
5.
A block of code begins and ends with .........
[]
{}
[}
()
6.
How many types of scopes in C++?
2
3
4
5
7.
The calling function parameters are called as .........
dummy parameters
formal parameters
actual parameters
duplicate parameters
8.
Which function executes faster but requires more memory space?
Normal function
Void function
Inline function
Regular function
9.
In ........ a local variable is defined within a block.
class scope
function scope
file scope
local scope
10.
The return type of the function prototype float power (float, int) is .........
int
char
float
double
11.
Which function does insert the function's code directly into the calling programs?
Main
Void
Inline
Online
12.
The scope of any variable used in the entire program is ........
Function
Class
File
Local
13.
......... are the building blocks of C++ programs.
For
Switch
If-else
Functions
14.
The functions that return no value is declared as
void
public
null
static
15.
A function can be invoked from another function using its .........
name
return
value
variables
Report Question
Previous
Next
warning
Submit
access_time
Time
Report Question
A bunch of text
Support mcqmojo.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page