Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming 82 – What will happen if a class is not having any name?

Question: What will happen if a class is not having any name?
[A]. It cannot have a destructor.
[B]. It cannot have a constructor.[C]. It is not allowed.
[D]. Both A and B.

Answer: Option D