InterviewSolution
Saved Bookmarks
| 1. |
7. What is the output of the program? int main(){auto int a=11;{auto int a = 12;printf("%d ", a);}printf("%d", a);return 1;3 |
|
Answer» ong>Answer: >> int i, j, m; The variable i, j, m are declared as an integer type. >> j = a[1]++; becomes j = 2++; HENCE j = 2 and a[1] = 3. Hence the output of the PROGRAM is 3, 2, 15. |
|