Question
#include
int main()
{
enum value{VAL1=0, VAL2, VAL3, VAL4, VAL5} var;
printf("%d\n" , sizeof(var);
return 0;
}
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;
}
Answer: Option B
Was this answer helpful ?
No answer description available for this question.
Was this answer helpful ?
Submit Solution