MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? #include<stdio.h> int main() { static int a[20]; int i = 0; a[i] = i ; printf("%d, %d, %d n", a[0], a[1], i); return 0; } |
| A. | 1, 0, 1 |
| B. | 1, 1, 1 |
| C. | 0, 0, 0 |
| D. | 0, 1, 0 |
| Answer» D. 0, 1, 0 | |