0
5.6kviews
Explain following statement with example, (i) goto (ii) continue
1 Answer
| written 9.3 years ago by |
A goto statement in C programming provides an unconditional jump from the 'goto' to a labeled statement in the same function.
Syntax
goto label;
..
.
label: statement;
Example
goto label;
printf (“Hey”);
label: printf(“Bye”);
Output
Bye
The first printf statement wasn’t read as the goto statement caused the compiler …