Computer Science, asked by rushabhshinde30, 5 months ago

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 CuteJimmy21
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