What is the return type that is used for all constructors ?
Void
int
float
No return type
What will happen in dynamic construction of objects?
Creating objects dynamically.
Allocating memory of objects dynamically.
Dynamic object construction.
Static object construction.
Which of the following enables automatic initialization of object?
new keyword
delete keyword.
constructor.
destructor.
When an object is created which function will be automatically invoked ?
Friend function
Destructor function
Static function
Constructor function
Which constructor function is designed to copy objects of the same class type ?
Create constructor
Object constructor
Copy constructor
Dynamic constructor
What is the sign used in the declaration of destructor ?
!
?
#
~
What is called default constructor ?
A constructor that accepts one parameter
A constructor that accepts two parameters
A constructor that accepts no parameter
A constructor that accepts three parameters
What do you meant by dynamic initialization of object?
Initial value of object passed at compile time.
Initial value of object passed at run time.
No initial value needed.
static initialization of objects.
Which of the following is used in copy constructor to receive its arguments ?
Either pass-by-value or pass-by-reference
Only pass-by-value
Only pass-by-reference
Only pass-by-address
Which of the following statement is correct ?
Destructor has the same name as that of the class with a tilde symbol.
Constructor has the same name as that of the class.
Both a and b
Destructor has the same name as the first member function of the class.