MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include void main() { int x = 5; if (x < 1) printf("hello"); if (x == 5) printf("hi"); else printf("no"); } |
| A. | hi |
| B. | hello |
| C. | no |
| D. | none of the mentioned |
| Answer» B. hello | |