2 ms·
They are extra braces. The C grammar allows any statement as the body of a control structure. Compound statements are only one of the possibilities. Just becaus
by kevin_thibedeau 7y ago
They are extra braces. The C grammar allows any statement as the body of a control structure. Compound statements are only one of the possibilities. Just because other C-like langs have different grammar requiring the braces doesn't mean C has to look like them too.