Contents

Which of the following is the advantage of function?
a) easy to write program   
b) reusability
c) eliminate duplicate code
d) all of these

d

Which of the following is type of function available in C++?
a) user-defined    
b) built-in
c) subprogram                     
d) both a & b

d

Another name for built-in function is…
a) user-define function
b) library function
c) custom-made function 
d) both a & b

b

The predefined function that are part of C++ language are called…….
a) built-in function             
b) library function
c) user-define function      
d) both a& b

d

Function prototype for built-in functions is specified in……..
a) source file                        
b) header file
c) object file                         
d) image file

b

The pow () and sqrt () are examples of…
a) built-in functions
b) user-define functions
c) local functions
d) keywords

a