The goto statement is rarely used because it makes program confusing, less readable and complex. Also, when this is used, the control of the program won’t be easy to trace, hence it makes testing and debugging difficult.
When a goto statement is encountered in a C program, the control jumps directly to the label mentioned in the goto stateemnt
Syntax of goto statement in C
goto label_name; .. .. label_name: C-statements
Flow Diagram of goto