NEW
Font size
WorksheetsFunction Quiz 3
Total questions: 10
Worksheet time: 2mins
Define Function call.
statement causes a function to execute
statements that make up a function
variables containing values passed to the function
statements that perform the function’s task, enclosed in {}
A program that tell the compiler the name of the function, the type of the function and the function parameter
Void Function
stdio file
Function Prototype
None of them
A variable that is declared inside a block is called
Global variable
Inside variable
None of them
Local variable
int &x; this syntax is used when
x is pass by value
x is pass by reference
x is declare outside the function
none of them
Which statement is correct about Passing by value parameters
It cannot change the actual parameter value
Parameter is always read-write mode
It can change the actual parameter value
None of them
Boolean expression gives results in form of
String
Integer
Characters
True and False
The other name for external variable in C++ is
Global Variable
Static Variable
Register Variable
Local Variable
There are the following statements that are given which of them are incorrect about default arguments in C++?
The default arguments are used in C++ functions to provide optional arguments.
If we did not pass the value to the function then default values of arguments used inside the function, if argument declared as a default argument.
We can create any argument in the function as a default argument.
Default arguments sometimes reduce the creation of multiple functions using function overloading.
A function that need no return value, is called?
void function
infinite function
finite function
none of them
Where does the execution of the program starts?
user-defined function
main function
void function
else function
