C++ Programming - Constructors and Destructors - Discussion

Discussion Forum : Constructors and Destructors - General Questions (Q.No. 39)
Which of the following statement is correct whenever an object goes out of scope?
The default constructor of the object is called.
The parameterized destructor is called.
The default destructor of the object is called.
None of the above.
Answer: Option
No answer description is available. Let's discuss.
2 comments Page 1 of 1.

Jindgi said:   7 years ago
Please explain its another way.

Hoy_smallfry said:   1 decade ago
Default destructor is misleading because there is only one function signature for a destructor.

Post your comments here:

Your comments will be displayed after verification.