We can use go to the statement to execute group of statements repetition until condition not match. It’s one type of jump statement.

Simple example of go to statement in c

#include <stdio.h>
#include<conio.h>;
void main(){
int c=0;
clrscr();
start :
c++;
if(c<=10)
{
printf(“%d t”,c);
go to start;
}
getch();
}

Output
1 2 3 4 5 6 7 8 9 10

This article is written by our awesome writer
Comments to: Go To Statement In C Programming Language

Your email address will not be published. Required fields are marked *

Attach images - Only PNG, JPG, JPEG and GIF are supported.

New Dark Mode Is Here

Sign In to access the new Dark Mode reading option.

Explore Tutorials By Categories

Login

Welcome to Codeverb

Ready to learn something new?
Join Codeverb!

Read Smart, Save Time
  •  
    Strength indicator
  •  
  •  
    Log In | Lost Password