Contents

When do we define the default values for a function?
a) function is defined
b) function is declared
c) scope of function is over
d) function is called

b

The variables that are listed in the function are called……
a) actual parameters        
b) declared parameters
c) passed parameters         
d) none of these

a

To make large programs more manageable programmers modularize them into subprograms are called……
a) operators                         
b) classes
c) functions                         
d) none of these

c

A variable that is declared inside the block is called……
a) global variables              
b) local variables
c) inside variables               
d) none of these

b

What is the purpose of parenthesis () in function call?
a) operator in C++              
b) causes the function to be called
c) causes the syntax error 
d) both a & b

d

Which of the following is used for invoking functions?
a) call by reference             
b) call by value
c) call by function              
d) both a & b

d