MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> #define MAX 3 enum car {AstonMartin = MAX + 1, Audi = AstonMartin + MAX}; int main() { enum car c = Audi; printf("%d n", c); return 0; } |
| A. | 3 |
| B. | Compilation Error |
| C. | 7 |
| D. | Runtime Error |
| E. | None of these |
| Answer» D. Runtime Error | |