C++ Programming - Constructors and Destructors - Discussion

Discussion Forum : Constructors and Destructors - General Questions (Q.No. 17)
17.
Which of the following statement is correct?
A destructor has the same name as the class in which it is present.
A destructor has a different name than the class in which it is present.
A destructor always returns an integer.
A destructor can be overloaded.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 2 of 2.

Surekha said:   4 years ago
Please explain about option C.

Praveen said:   9 years ago
Can destructor be overloaded?

Sravan said:   1 decade ago
What is virtual destructor?


Post your comments here:

Your comments will be displayed after verification.