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 diff in git?
What is PHP?
What is PEAR in PHP?
The differences between static and dynamic websites?
What is the difference between GET and POST?
Iteration Statements (Loop Statements)
PHP Arrays
Flowchart In Programming
Operators in C
Break Statement In C
DOCTYPE in HTML
Different types of errors in PHP?
What are Arrays in PHP?
UNION in C
Email validation in PHP
Parameter passing techniques
Object Oriented Programming
Structures in C
Structure of a C Program
Switch Statement In C Programming