MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include int main() { int x = 0; if (x++) printf("true\n"); else if (x == 1) printf("false\n"); } |
| A. | true |
| B. | false |
| C. | compile time error |
| D. | undefined behaviour |
| Answer» C. compile time error | |