What is the output of the following program? void main() { printf("1"); goto…
TCS · 2026
What is the output of the following program?
void main()
{
printf("1");
goto xyz;
printf("2");
xyz:
printf("3");
}
- A.
1 2
- B.
23
- C.
1 2 3
- D.
13
Attempted by 285 students.
Sign up free to check your answer
Sign up freeLoading lesson…