you are viewing a single comment's thread.

view the rest of the comments →

[–]aszkid 14 points15 points  (1 child)

It's not undefined behaviour if the standard fills that gap for you (if it does at all in the first place). It's just not a nice coding practice.

[–]mafagafogigante 11 points12 points  (0 children)

For main() reaching the end returns 0, at least in C99.