Texinterest
Sign in
x
Texinterest
Empower your learning
About Us
Privacy Policy
Forum Discussions
C Programming
Subjects
Science
Computer
Programming
English
General Knowledge
Rennaissance
Courses
Exams
Interviews
Add Notes
Contact us
Menu
Science
Computer
Programming
English
General Knowledge
Rennaissance
Destructors in c++
Nov 11, 2019
Eduardo Zambrano
Destructors a special member function, that takes the same name of the class name followed by the tilde(~).
Syntax
~classname();
Characteristics of Destructors
Destructors are the inverse of constructors.
It is automatically called when objects are destroyed.
It has the same name as that of the class followed by ~
It doesn't return any value.
It doesn't have any return type.
Top Questions
Break Statement In C
What is Yii Framework | Advantages of Yii over other frameworks | Different versions of Yii
Generating A QR Code With PHP
Basic And Intermediate Commands For Linux
While loop in C
Inheritance in C++
Constructors in C++
Command line scripting in PHP
C Character Set and Tokens
printf() and scanf() function in C Programming
Understanding the Attributes in HTML
How to Get current version of PHP?
BASIC HTML PAGE
History of PHP
What is the function of git diff in git?
Flowchart In Programming
Switch Statement In C Programming
HTML5 Application Development
Get Current Version Of PHP
Class in C++