MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include int main() { int x = 97; switch (x) { case 'a': printf("yes "); break; case 97: printf("no\n"); break; } } |
| A. | yes |
| B. | yes no |
| C. | Duplicate case value error |
| D. | Character case value error |
| Answer» D. Character case value error | |