What happens to the return result value when a program finishes.
Anonymous
If in terminal, nothing happens if the return value is 0. If it is an error (other than 0), it will be displayed. When it runs inside another program, the value will be provided to the calling program.
Check out your Company Bowl for anonymous work chats.