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