Skip to content
Related Articles

Related Articles

Improve Article

C++ | Destructors | Question 3

  • Last Updated : 28 Jun, 2021

Like constructors, can there be more than one destructors in a class?
(A) Yes
(B) No


Answer: (B)

Explanation: There can be only one destructor in a class. Destructor’s signature is always ~ClassNam() and they can not be passed arguments.

Quiz of this Question

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up
Recommended Articles
Page :