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
How to load public files in laravel
The differences between static and dynamic websites?
Entities in HTML
Different types of errors in PHP?
Constructors in C++
Differentiate between require() and include() function in PHP?
PHP Arrays
Flowchart In Programming
Scope rules and functions in C
What is codigniter
SQL Joins
History of PHP
PHP Loops
Functions in PHP
DO WHILE LOOP In C Programming
DOCTYPE in HTML
What is PHP?
While loop in C
Iteration Statements (Loop Statements)
What is Yii Framework | Advantages of Yii over other frameworks | Different versions of Yii