Implicit Return From main()

When the C99 extensions setting is on, the compiler inserts this statement at the end of a program's main() function if the function does not return a value:

return 0;