We're in main(); so return 0; is more natural than exit(0); - likewise for other exit()s below.