C++ Programming :: Constructors and Destructors
-
Destructor calls are made in which order of the corresponding constructor calls?
-
Which of the following never requires any arguments?
-
A class's __________ is called when an object is destroyed.
-
Destructors __________ for automatic objects if the program terminates with a call to function exit or function abort.
-
Which of the following statement is correct?
-
Which of the following statements are correct?
-
How many times a constructor is called in the life-time of an object?
-
Which of the following gets called when an object is being created?
-
To ensure that every object in the array receives a destructor call, always delete memory allocated as an array with operator __________ .
-
Which of the following statement is correct about constructors?