4 ms·
You can jump past declarations if you're exiting the block - it's only a problem if you're jumping past a declaration to a point where the declared object would
by int_19h 8y ago
You can jump past declarations if you're exiting the block - it's only a problem if you're jumping past a declaration to a point where the declared object would still be visible. But the goto equivalent of this code does not require that - it would be a jump to a label after the closing brace.