MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include <stdio.h> int main() { int y = 2; int z = y +(y = 10); printf("%d\n", z); } |
| A. | 12 |
| B. | 20 |
| C. | 4 |
| D. | Either 12 or 20 |
| Answer» C. 4 | |