Contents

A built-in function ca be……..
a) cannot be redefined     
b) can be redefined
c) cannot return a value    
d) should be redefined

a

Function declaration consist of……
a) function name
b) return type
c) number and types of parameters
d) all of these

d

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