Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

C++ | Destructors | Question 3

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads