Vidyalelo
C Programming · Q116

C Fundamentals

Programming · C Programming · question 116

Q116

What will be the output of the following C code if input given is 2? #include enum day a,b,c=5,d,e ; main() printf("Enter the value for a"); scanf("%d",a); printf("%d",a);

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

Answer: Option D

Solution

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