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
What is the function of git status in git?
What is Yii Framework | Advantages of Yii over other frameworks | Different versions of Yii
Operators in C
REST API in Laravel
How to load public files in laravel
What is the differene between require(), require_once(), include() and include_once()
Type conversion in C Programming
Introduction to C Programming
Different types of errors in PHP?
Command line scripting in PHP
Entities in HTML
CSRF (Cross Site Request Forgery) Protetion in Laravel
What is the function of git rm?
HTML5 Application Development
Continue Statement in C
Class in C++
Object Oriented Programming
Inheritance in C++
Basic And Intermediate Commands For Linux
What is the difference between GET and POST?