What is the return type of constructor is
a) int
b) char
c) float
d) none of these
What is the return type of destructor is…
a) int
b) tilde
c) float
d) none of these
A class may have tis many default constructors?
a) only one
b) more than one
c) any number
d) none of these
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
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
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