

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code? #include <stdio.h> const int n = 10, m = 12; int main() { int P = 10; switch (P) { case n: printf("Yes..."); case m: printf("No... n"); break; } } |
A. | Yes... |
B. | No... |
C. | Yes... No... |
D. | Runtime Error |
E. | Compilation Error |
Answer» D. Runtime Error | |