Vidyalelo
C Programming · Q282

C Fundamentals

Programming · C Programming · question 282

Q282

Point out the error (if any) in the following C code? #include enum hello a,b,c; ; main() enum hello m; printf("%d",m);

A.
No error
B.
Error in the statement: a,b,c;
Answer
C.
Error in the statement: enum hello m;
D.
Error in the statement: printf("%d",m);

Answer: Option B

Solution

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