Contents

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

How many ways to invoke a function in C++?
a) 1                                                        
b) 2
c) 3                                                        
d) 4

b

Explanation: call by reference, call by value