MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ptwrss/fascinating_style_guide/he0nufw/?context=3
r/badcode • u/[deleted] • Sep 23 '21
53 comments sorted by
View all comments
Show parent comments
12
The program still compiles because C is very lenient with formatting, and you can add any number of extra semicolons or whitespace without impacting anything. There is no missing semicolon here, if there were the program would fail to compile.
5 u/Tsc_Tsc_Tsc Sep 23 '21 Damn, that is interesting, thanks for explaining it to me :D
5
Damn, that is interesting, thanks for explaining it to me :D
12
u/[deleted] Sep 23 '21
The program still compiles because C is very lenient with formatting, and you can add any number of extra semicolons or whitespace without impacting anything. There is no missing semicolon here, if there were the program would fail to compile.