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
Basic And Intermediate Commands For Linux
HTML5 Standards
How to create and load view in codigniter?
What is PEAR in PHP?
Scope rules and functions in C
PHP Functions - Return Values
HTTP Status Codes List for REST API
Variables in C Programming
Overloading in C++
Pass data from a function in a model to a controller in Codigniter
Continue Statement in C
Operators in C
What is the function of git diff in git?
What is codigniter
What is the function of git status in git?
PHP Loops
What is the difference between GET and POST?
Class in C++
Introduction to C Programming
Constructors in C++