Meaning – A computer program consists of smaller sections, that are executed when a set condition is satisfied. Once that section of code has been executed, the program is no longer required to run as the user or developer has achieved the desired outcome. In such cases, the developer adds an exit command at the end of each module of the code.

This allows the code to execute faster and saves on processing times. The exit command can be used as many number of times as required inside a code and it helps the programmer control the various exit pointts for the code during its execution.

Example of usage“When she demonstrated the code to her superiors, they appreciated how the program exit after the satisfactory conditions were satisfied and the code was no longer required to be run.”