MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include <stdio.h> void main() { int k = 8; int m = 7; int z = k < m ? k++ : m++; printf("%d", z); } |
| A. | 7 |
| B. | 8 |
| C. | Run time error |
| D. | None of the mentioned |
| Answer» B. 8 | |