3 ms·
In the C grammar, braces denote compound statements. Control flow statements can take any type of statement as their body rather than just the compound variety.
by kevin_thibedeau 12y ago
In the C grammar, braces denote compound statements. Control flow statements can take any type of statement as their body rather than just the compound variety.
- PurplePanda 12y agoIt confuses me that it doesn't work for functions. like int main() return 0;
- pdw 12y agoIn K&R C, the function braces serve to separate parameter declarations and local variables: int main(argc, argv) int argc; char **argv; { int local; }
- PurplePanda 12y agoThanks, I haven't seen that syntax before.