The return value of main() becomes the exit status of the process.
Traditionally, an exit status of zero usually means “OK,”
while any non-zero value indicates some kind of error.
This is analogous with how many system calls likewise return zero
or an error code.