다음을 통해 공유


Program Termination

In C++, there are several ways to exit a program:

  • Call the exit function.

  • Call the abort function.

  • Execute a return statement from main.

See Also

Concepts

main: Program Startup