4 ms·
Any such expectation is unfounded. The C90 standard says: "A return from the initial call to the main function is equivalent to calling the exit function with
by _kst_ 5y ago
Any such expectation is unfounded. The C90 standard says:
"A return from the initial call to the main function is equivalent to calling the exit function with the value returned by the main function as its argument. If the main function executes a return that specifies no value, the termination status returned to the host environment is undefined."