What will be the output of the following question?
fun()
{
here:
printf(“pp”);
}
main()
{
int i=1;
while(i<=5)
{
printf(“%d”,i);
if(i>2)
goto here;
i++;
}
}
Reveal answer
Fill a bubble to check yourself
What will be the output of the following question?
fun()
{
here:
printf(“pp”);
}
main()
{
int i=1;
while(i<=5)
{
printf(“%d”,i);
if(i>2)
goto here;
i++;
}
}