Tuesday, Jul 17th

Last update12:59:40 PM GMT

Can goto be used to jump across functions?

Write e-mail

Nopes! This code will not work for eg.

argaiv1058

main()
{
 int i=1;
 while (i<=5)
 {
 printf("%d",i);
 if (i>2)
 goto here;
 i++;
 }
}

fun()
{
here:
 printf("PP");
}

Share this post



Web Hosting