Explanation of "exit" Suppose the following programs are compiled

Explanation of "exit"
Suppose the following programs are compiled to executable files.
Tell the OS to run a program.
The exit value is obtained from the return
value and stored in the variable result.
Default exit value is 0
Executable files:
Choose_and_run.exe will determine whether to call div.exe or sum.exe, and analyze their "exit" code: