Goto Statement or Jump statement in C

The goto statement is also known as jump statement that makes a program procedure to jump any where from anywhere within the program. It is sometime also called unconditional jump statement.
 In this program, it takes name of a person and then prints it. Here "jump:" is a label that goto statement will transfer the step when encountered. So, after printing the name, it asks to continue and if a user enter y or Y the goto statement transfer the step to that label and if any other key is pressed the program will print Visit Again.

Comments

Popular posts from this blog

Header Files in C

Programming Concepts