Normally, when an exit() statement is executed the program stops and control is passed back to the invoking process. This means that the function return is not reached and therefore does not accumulate run data:
When the exit(XXX) occurs in main(), some compilers treat it as equivalent to return(XXX), so this annotation variation does not necessarily appear consistently under all circumstances.