Home » C++ Programming » Data Types » Question
  1. Which variable does equals in size with enum variable?
    1. string variable
    2. int variable
    3. float variable
    4. All of above
    5. None of these
Correct Option: B

The enum variable is converted to an integer and stored by the compiler. So both are equal in size.



Your comments will be displayed only after manual approval.