Contents

The declaration void fun (int x, int &y); is called…..
a) function body 
b) function type
c) function stereotype                                        
d) function prototype

d

The default parameter passing mechanism in C++ is called…..
a) call by reference             
b) call by name
c) call by value 
d) call by global variable

c

Which of the following symbol is used to pass a parameter by reference?
a) #                        
b) *                        
c) @                       
d) &

d

The process of many functions with the same name is known as…….
a) function overloading                                   
b) function template
c) inline function 
d) function overriding

a

In function overloading, the function differs with….
a) types of arguments                                        
b) number of arguments
c) sequence of arguments 
d) all of these

d

The two functions in same program having same names but different parameters are called……..
a) Inline functions              
b) nested function
c) function overloading                   
d) recursive function

c