Computer Science, asked by heranyaemmanuvel, 2 months ago

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​

Answers

Answered by Anonymous
4

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.

Similar questions