MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include int main() { int a = 1, b = 1; switch (a) { case a*b: printf("yes "); case a-b: printf("no\n"); break; } } |
| A. | yes |
| B. | no |
| C. | Compile time error |
| D. | yes no |
| Answer» D. yes no | |