I have two for loops nested like this:
for(...) { for(...) { } }
I know that there is a break statement. But I am con
break
If using goto simplifies the code, then it would be appropriate.
for (;;) { for (;;) { break; /* breaks inner loop */ } for (;;) { goto outer; /* breaks outer loop */ } } outer:;