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.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.