3 ms·
goto is generally _unscoped_, the languages in which it is scoped are exceptions. Right? goto in C is unscoped, afaik?
by preseinger 4y ago
goto is generally _unscoped_, the languages in which it is scoped are exceptions. Right? goto in C is unscoped, afaik?
- Gibbon1 4y agoIn C goto is scoped. void Foo(int x) { if(x == 10) goto goof; // don't work. } void Baz(void) { goof: printf("goof isn't in scope"); }
- preseinger 4y agoTIL