MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include #define MAX 2 enum bird {SPARROW = MAX + 1, PARROT = SPARROW + MAX}; int main() { enum bird b = PARROT; printf("%d n", b); return 0; } |
| A. | Compilation error |
| B. | 5 |
| C. | Undefined value |
| D. | 2 |
| Answer» C. Undefined value | |