Vidyalelo
C Programming · Q81

Function

Programming · C Programming · question 81

Q81

What will be the output of the following C code? #include enum mJAN, FEB, MAR; enum m foo(); int main() enum m i = foo(); printf("%d ", i); int foo() return JAN;

A.
Compile time error
Answer
B.
0
C.
Depends on the compiler
D.
Depends on the standard

Answer: Option A

Solution

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