Contents

What does math function acos stand for?
a) inverse of cosine           
b) inverse of sine
c) inverse of tangent
d) floor of x

a

Constant function in C++ can be declared as…..
a) void display    
b) void display () const
c) Const void display ()                                     
d) void const display ()

b

Where does the execution of program starts?
a) user-define function
b) main function
c) void function  
d) none of these

b

A friend function does not have 'this' pointer associated with it……
a) true                                   
b) false
c) may be                             
d) can’t say

a

A programmer can create custom header files that must be end with…….
a) .h extension    
b) .I extension
c) .IOS extension
d) .a extension

a

What is the output of following program?
void abc (int x=0, int y, int z) {
cout<< x << y <<z;}
a) abc ()                                
b) abc (h)
c) abc (h,h)                           
d) both a & b

d