Contents

Which of the following is the correct function definition?
a) int add (int x, int y); 
b) int add (int x, int y)
c) int add [int x, int y]; 
d) int add.

b

A statement in the calling function to execute the code of function is called
a) function prototype               
b) function definition
c) function call
d) all of these

c

Which of the following is the correct format for function call?
a) add (a, b);               
b) add {a, b};
c) add [a, b];                
d) none of these

a

Which of the following is more effective while calling the function?
a) call by value 
b) call by reference
c) call by pointer         
d) call by object

b

Function ………is to invoke the code of function by name.
a) declaration              
b) call
c) definition                
d) none of these

b

In C++, int main () returns which data type value by default?
a) float                        
b) int
c) char                         
d) double

b