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.

Tweet Share WhatsApp