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 Can PHP Do?
Understanding the Attributes in HTML
FILES IN C
Break Statement In C
Get Current Version Of PHP
History of PHP
Inheritance in C++
What is the difference between git diff and git status?
REST API in Laravel
Switch Statement in C
Basic And Intermediate Commands For Linux
DOCTYPE in HTML
Flowchart In Programming
Scope rules and functions in C
SQL Joins
Email validation in PHP
Before Beginning Of Programming, Why C First? And Why Programming And Programmers
DO WHILE LOOP in C Programming
Type conversion in C Programming
Algorithm | Algorithm Design Techniques