Vidyalelo
C Programming · Q262

C Fundamentals

Programming · C Programming · question 262

Q262

What will be the output of the following C code? main() enum resut pass, fail; enum result s1,s2; s1=pass; s2=fail; printf("%d",s1);

A.
error
Answer
B.
pass
C.
fail
D.
0

Answer: Option A

Solution

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