What happens if a class does not have a name?
(a) It will not have a constructor
(b) It will not have a destructor
(c) It is not allowed
(d) It will neither have a constructor or destructor
This question was posed to me in an internship interview.
My enquiry is from OOPs Concept in section Basics Concepts of C++ of C++