Contents

What is the return type of constructor is
a) int                                      
b) char
c) float                                  
d) none of these

d

What is the return type of destructor is…
a) int                                      
b) tilde
c) float                                  
d) none of these

d

A class may have tis many default constructors?
a) only one                          
b) more than one
c) any number     
d) none of these

a

Which of the following is true about constructor?
a) constructor cannot have parameter
b) same name as class
c) class can have only single constructor
d) constructor is 
only executed when called

b

Which of the following is automatically called when an object is destroyed?
a) constructor function                                      
b) destructor function
c) output function              
d) none of these

b

When member function is defined outside class declaration, the function name is preceded by class name and……
a) extraction operator                        
b) constructor function
c) scope resolution operator                           
d) insertion operator

c