Q77
What will be the output of the following C code? #include #define MAX 2 enum bird SPARROW = MAX + 1, PARROT = SPARROW + MAX; int main() enum bird b = PARROT; printf("%d ", b); return 0;
A.
Compilation error
B.
5
AnswerC.
Undefined value
D.
2
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board