8. What will be output?
#include <stdio.h>
int main()
{
printf("%d", 1);
goto 11;
printf("%d", 2);
11:goto 12;
printf("%d", 3);
12:printf("%d ", 4);
}
(2 Points)
14
Compilation error
124
134
Answers
Answered by
10
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