MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program ? #include int main() { int a[5] = {51, 1, 5, 20, 25}; int x, y, z; x = ++a[1]; y = a[1]++; z = a[x++]; printf("%d, %d, %d", x, y, z); return 0; } |
| A. | 2, 3, 20 |
| B. | 2, 1, 5 |
| C. | 1, 2, 5 |
| D. | 3, 2, 5 |
| Answer» E. | |