Constructors and Destructors on C++ related Questions and Answers


Question :   Which of the following statement is correct about destructors?
1. A destructor has void return type.
2. A destructor has integer return type.
3. A destructor has no return type.
4. A destructors return type is always same as that of main().
Answer :   3 - A destructor has no return type.  

* 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