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
Email validation in PHP
Introduction to C Programming
Top Features Of Laravel Framework
BASIC HTML PAGE
Class in C++
C Character Set and Tokens
HTML5 Standards
What is PEAR in PHP?
PHP Arrays
What is the function of git diff in git?
Scope rules and functions in C
Creating And Using A Database
How to Get current version of PHP?
What is PHP?
Iteration Statements (Loop Statements)
FILES IN C
CSRF (Cross Site Request Forgery) Protetion in Laravel
What are Arrays in PHP?
What is the function of git log?
While loop in C