First page Back Continue Last page Overview Image

goto statement in C

A goto statement in C programming language provides an unconditional jump from the goto to a labeled statement in the same function.

NOTE:

Use of goto statement is highly discouraged in any programming language because it makes difficult to trace the control flow of a program, making the program hard to understand and hard to modify. Any program that uses a goto can be rewritten so that it doesn't need the goto.