Explanation:Enumerator will allocate the memory when its variables are defined. 5. Which variable does equals in size with enum variable?
A. int variable
B. float variable
C. string variable
D. none of the mentioned
Answer:A
Explanation:Enumerator will allocate the memory when its variables are defined. 5. Which variable does equals in size with enum variable?
A. int variable B. float variable C. string variable D. none of the mentioned
Explanation:The enum variable are converted to integer and stored by compiler. So both are equal in size. 6. What is the output of this program?