The goto statement is a jump statement which is sometimes also referred to as unconditional jump statement. The goto statement can be used to jump from anywhere to anywhere within a functions.
*Disadvantages of using goto statement:
The use of goto statement is highly discouraged as it makes the program logic very complex.
*use of goto makes the task of analyzing and verifying the correctness of programs (particularly those involving loops) very difficult.
*Use of goto can be simply avoided using break and continue statements.