1
Q:
A) Constructor | B) Destructor |
C) Friend function | D) None of the above |
Answer: B) Destructor
Explanation:
Explanation:
Destructor is a special member function of a class, which is invoked automatically whenever an object goes out of the scope. It has the same name as its class with a tilde character prefixed.