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
What are the different functions in PHP for sorting an array?
What is PEAR in PHP?
HTML5 Standards
What is the differene between require(), require_once(), include() and include_once()
How to create and load view in codigniter?
Advantages Or Benefits Of C Over Other Programming Languages
Type conversion in C Programming
Break Statement In C
Algorithm | Algorithm Design Techniques
What are sessions in PHP?
HTTP Status Codes List for REST API
printf() and scanf() function in C Programming
Operators in C
DO WHILE LOOP in C Programming
Basic And Intermediate Commands For Linux
What is PHP?
PHP Arrays
History of PHP
Different types of errors in PHP?