MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? int main() { int a = 10, b = 10; if (a = 5) b--; printf("%d, %d", a, b--); } |
| A. | a = 10, b = 9 |
| B. | a = 10, b = 8 |
| C. | a = 5, b = 9 |
| D. | a = 5, b = 8 |
| Answer» D. a = 5, b = 8 | |