Talk:c/language/return
From cppreference.com
> Reaching the end of the main function is equivalent to return 0;
I believe the behavior is undefined in C90, though I don't have the standard handy to check. C99 has the same rule as C++. Gennaro Prota (talk) 15:11, 13 March 2018 (PDT)