goto Statement in C

The goto statement is used to unconditionally transfer the control to any location within the program whose address in the form of label follows the statement. It should be noted that break and continue statements transfer control to a fixed location; after loop body in case of break and to the condition of the while … Read more

goto statement in c programming

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. goto statement When a goto statement is encountered in a C program, the control jumps directly to the … Read more