Vidyalelo
C Programming · Q178

C Fundamentals

Programming · C Programming · question 178

Q178

What will be the output of the following C code? #include enum colour blue, red, yellow ; main() enum colour c; c=yellow; printf("%d",c);

A.
1
B.
2
Answer
C.
0
D.
Error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board