Y
Hacker News
new
|
ask
|
show
|
jobs
by
PurplePanda
4219 days ago
It confuses me that it doesn't work for functions. like
int main() return 0;
1 comments
pdw
4219 days ago
In K&R C, the function braces serve to separate parameter declarations and local variables:
int main(argc, argv) int argc; char **argv; { int local; }
link
PurplePanda
4218 days ago
Thanks, I haven't seen that syntax before.
link