4 ms·
>You can't goto out of a function You can with a goto expression and a label address available - though the behavior is undefined in C, so bets are off. And y
by coldtea 6y ago
>You can't goto out of a function
You can with a goto expression and a label address available - though the behavior is undefined in C, so bets are off.
And you can with longjump/setjump more explicitly.
- josephcsible 6y agoAre you talking about this? https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html It's a GNU extension, not part of standard C at all.