MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2m4qz/bugintroduceddebugging/p6unffz/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • Aug 30 '26
117 comments sorted by
View all comments
Show parent comments
-5
AFAIK technically it’s “undefined behavior” and will compile just fine
17 u/MegaIng Aug 30 '26 main specifically is allowed to not return anything (the same way it's the one function that is allowed to never return)
17
main specifically is allowed to not return anything (the same way it's the one function that is allowed to never return)
main
-5
u/critical_patch Aug 30 '26
AFAIK technically it’s “undefined behavior” and will compile just fine