Tuesday, 16 October 2012

Program Of GoTo Statement In C

#include<stdio.h>
#include<conio.h>
 
main()
{
 
int i;
 
clrscr();
 
printf("Enter i=");
 
scanf("%d",&i);
 

if(i<5)
 
{
    
}
 
else
 
{
    
goto down;
}

getch();
}

No comments:

Post a Comment