What is destructor and characteristics?

Properties of Destructor: Destructor function is automatically invoked when the objects are destroyed . It cannot be declared static or const. The destructor does not have arguments. It has no return type not even void. An object of a class with a Destructor cannot become a member of the union.9 Eyl 2021

Read more