Why is destructor function required in class?
Answers
Answered by
0
Destructor" functions are the inverse of constructor functions. They are called when objects are destroyed (deallocated). Designate a function as a class's destructor by preceding the classname with a tilde ( ~ ).
Similar questions