What will happen if in a C++ program, a class has no name?
Show answerHide answer
Correct answer: (C) It will not have the destructor
Explanation
An unnamed class is allowed, but a destructor is declared with the class name, so such a class cannot declare a destructor; the official key is (C).