The 'right' way to exit a program?

Was is the 'right' way to exit c++?

Using:
exit(0)
return 0;

or?
Last edited on
Topic archived. No new replies allowed.