C++ Constructors Question: Download C++ Constructors PDF
Which of the following statement is correct?
A. Destructor destroys only integer data members of the object.
B. Destructor destroys only float data members of the object.
C. Destructor destroys only pointer data members of the object.
D. Destructor destroys the complete object.
Answer:
Option D
Destructor destroys the complete object.
Destructor destroys the complete object.
Previous Question | Next Question |
How many default constructors per class are possible? A. Only one B. Two C. Three D. Unlimited | What is Virtual destructors? |