
#cplusplus
#cpplus
In C++, a destructor is a special member function, but contrary to the working of a constructor, a destructor is used to destroy the objects of a class and to clean up their storage space when they are no longer required.
For more:
decodejava.com/cpp-destructor…

English