1.  What is the scope of the variable declared in the user defined function ?


whole program
only inside the {} block
both a and b
none of the mentioned


Answer

 Option

The variable is valid only in the function block as in other.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

2.  When our function doesn’t need to return anything means what we will as parameter in function ?


void
blank space
both a & b
none of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

3.  Default return type of functions in CPP is


void
long
char
int


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

4.  Overloaded functions are


Very long functions that can hardly run
One function containing another one or more functions inside it
Two or more functions with the same name but different number of parameters or type
none of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

5.  Where does the execution of the program starts ?


user defined function
main function
void function
none of the mentioned


Answer

 Option

Normally the execution of the program in c++ starts from main only.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report