MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program ?#includevoid main(){int a[5] = {5, 1, 15, 20, 25};int i, j, m;i = ++a[1];j = a[1]++;m = a[i++];printf("%d, %d, %d", i, j, m);} |
| A. | , 2, 15 |
| B. | , 3, 20 |
| C. | , 1, 15 |
| D. | , 2, 5 |
| Answer» B. , 3, 20 | |