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++
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
Iteration Statements (Loop Statements)
Get Current Version Of PHP
explode and implode function in PHP
What are the different functions in PHP for sorting an array?
PHP Arrays
Arrays in C Programming
CSRF (Cross Site Request Forgery) Protetion in Laravel
What is the difference between GET and POST?
PHP Functions - Return Values
What Can PHP Do?
What is Yii Framework | Advantages of Yii over other frameworks | Different versions of Yii
UNION in C
REST API in Laravel
HTML5 Application Development
Class in C++
Understanding the Attributes in HTML
Command line scripting in PHP
What is the function of git log?
DO WHILE LOOP In C Programming
Switch Statement In C Programming