Contents

Unary scope resolution operator is denoted by…..
a) !!                                        
b) %%
c) :                                                         
d) ::

d

Which of the following function declaration is incorrect?
a) int sum (int a, int b=2, int c=3)
b) int sum (int a=5, int b)
c) int sum (int a=0, int b, int c=3)   
d) both b & c

c

Which of the following functions are provided by compiler default?
a) copy constructor            
b) assignment
c) constructor                      
d) all of these

d

How many can max number of arguments present in function in the c99 compiler?
a) 99                                      
b) 90
c) 102                                    
d) 127

d

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