Home » C Programming » Structures, Unions, Enums

What will be the output of the program given below in 16-bit platform? #include int main() { enum value{VAL1=0, VAL2, VAL3, VAL4, VAL5} var; printf("%d\n", sizeof(var)); return 0; }

Correct Answer: 2

← Previous Question Next Question→

More Questions from Structures, Unions, Enums

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion