You missed the end of the phrase "or in some other implementation-defined manner". So your implementation, that is your platform, not you as a programmer, may foresee a different return type of main
, and some platforms do.
Also according to C99 and C11, you are not forced to specify a return value for main
. The platform is supposed to do reasonable things, when you return from main
, if you do it ever.
In any case, main
is special and obeys special rules. Trust your platform provider that it does the right thing for it. You are talking of a completely negligible optimization, in case your main
really does never return.