Constructors and Destructors on C++ related Questions and Answers


Question :   Which of the following statement is correct whenever an object goes out of scope?
1. The default constructor of the object is called.
2. The parameterized destructor is called.
3. The default destructor of the object is called.
4. None of the above.
Answer :   3 - The default destructor of the object is called.  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter