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»

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.



Discussion

No Comment Found