MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> void main() { int num = 6; if (num < 2) printf("Hello"); if (num == 6) printf("Hey"); else printf("No"); } |
| A. | 6 |
| B. | Hey |
| C. | Hello |
| D. | No |
| E. | None of these |
| Answer» C. Hello | |