MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of code given below? enum m{JAN, FEB, MAR}; enum m foo(); int main() { enum m i = foo(); printf("%d n", i); } int foo() { return JAN; } |
| A. | Compile time error |
| B. | Depends on the compiler |
| C. | Depends on the standard |
| Answer» B. Depends on the compiler | |