Contents

Which of the following is true about function prototype?
a) single statement             
b) function declaration
c) ends with semicolon 
d) all of these

d

In C++ program, two functions can have……..
a) same name                     
b) same parameters
c) same name same parameters      
d) same name different parameters

d

Which of the following is not valid function declaration?
a) int ave3(int a, int b, int c)             
b) int 3ave (int s, int b, int c);
c) int ave3(int, int, int);                      
d) int ave_3(int a1, inta2, inta3);

b

Function definition can be written …….
a) before main function                    
b) after main function
c) in separate file
d) all of these

d

The process of sending an argument to a function is called…..
a) sending                             
b) filtering
c) delivering                         
d) passing

d

The function definition consists of……
a) function header              
b) function body
c) both a & b                       
d) none of these

c