Skip to content
Related Articles

Related Articles

Improve Article

C++ | Destructors | Question 1

  • Last Updated : 28 Jun, 2021

Can destuctors be private in C++?
(A) Yes
(B) No


Answer: (A)

Explanation:

Destructors can be private. See Private Destructor for examples and uses of private destructors in C++.


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 :