MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> int main() { int n1 = 5, n2 = 0, n3 = 7; n1 > n2 ? printf("%d", n3) : return n3; } |
| A. | 5 |
| B. | 7 |
| C. | Compilation Error |
| D. | Runtime Error |
| E. | None of these |
| Answer» D. Runtime Error | |