Vidyalelo
C++ Programming · Q45

Introduction to C++

Programming · C++ Programming · question 45

Q45

What happens if a class does not have a name?

A.
It will not have a constructor
B.
It will not have a destructor
Answer
C.
It is not allowed
D.
It will neither have a constructor or destructor

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board