main()
{
enum _tag{ left=10, right, front=100, back};
printf("%d, %d, %d, %d", left, right, front, back);
}



main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, ri..

Answer / manisha

10,11,100,101

Is This Answer Correct ?    26 Yes 1 No

Post New Answer

More C Interview Questions

write a prgram of swapping with 2 valiables

6 Answers  


Difference between goto, long jmp() and setjmp()?

0 Answers   EXL,


What is difference between Structure and Unions?

0 Answers   TISL,


Explain what is the benefit of using enum to declare a constant?

0 Answers  


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

0 Answers   GrapeCity,






what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,


Is c still used in 2019?

1 Answers  


What is page thrashing?

0 Answers  


How can I open a file so that other programs can update it at the same time?

0 Answers  


which operator having highest precedence? a.)+ b.)++ c.)= d.)%

4 Answers  


Why does not use getgh(); and <conio.h> in c language.

3 Answers   Elofic,


How do you define structure?

0 Answers  


Categories