#include<stdio.h>
int main()
{
int num1=10, num2=20, num3=30;
printf("%d \n", num1);
goto ABC;
printf("%d \n", num2);
ABC:
printf("%d \n", num3);
return 0;
}
Output of program:
10
30
int main()
{
int num1=10, num2=20, num3=30;
printf("%d \n", num1);
goto ABC;
printf("%d \n", num2);
ABC:
printf("%d \n", num3);
return 0;
}
Output of program:
10
30
You may also like to learn following programs:
|
No comments:
Post a Comment