Can anyone tell me how to do as the title says? I'm told that using goto is a no no. Here is some sample code that i can't seem to be able to figure out. I'm a novice by the way
Code:
#include<stdio.h>
int main(void)
{
while(1)
{
printf("Hello.\n");
while(1)
{
while(1)
{
printf("How do i break out of this loop and back into the Hello loop?\n");
}
}
}
return(0);
}