C++ Constructors Question: Download C++ Constructors PDF

Which of the following statement is correct whenever an object goes out of scope?

A. The default constructor of the object is called.
B. The parameterized destructor is called.
C. The default destructor of the object is called.
D. None of the above.

Tweet Share WhatsApp