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.
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers