destructos are the member function that are called automatically
Answers
Answered by
1
Explanation:
A destructor is a member function that is invoked automatically when the object goes out of scope or is explicitly destroyed by a call to delete . A destructor has the same name as the class, preceded by a tilde ( ~ ).
Similar questions