C - Structures,Unions - Discussion

You Are Here :: Home > C > Structures,Unions - Discussion

 



Q.

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;
}

A. 1 B. 2
C. 4 D. 10

Answer: Option B
Explaination:

No Explanation



Discussion

Your Comments Goes here...
NameDiscussion