C++ Programming - Constructors and Destructors - Discussion

Discussion Forum : Constructors and Destructors - General Questions (Q.No. 11)
11.
A function with the same name as the class, but preceded with a tilde character (~) is called __________ of that class.
constructor
destructor
function
object
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
4 comments Page 1 of 1.

Kalai said:   1 decade ago
Destructor has same name as constructor and the symbol is ~ (tilde) character.

Prince jain said:   1 decade ago
Destructor has same name as constructor and the symbol is ~ (tilde) character.

Ajit said:   8 years ago
Destructor has same name as class.

Charuka said:   2 years ago
Destructor has the same name as the class name and uses ~ to define its destructor.

Post your comments here:

Your comments will be displayed after verification.