Author: Stan Eisenstat
Subject: Re: [Cs223] exit vs return
Date: Thursday, 13 Feb 2020, 18:01:23
> Message Posted By: Unknown > > Does it matter whether we return 0 or exit(0)? From main(), no. From any other function, yes, since return returns to the calling function and exit() exits the program. --Stan-PREV INDEX NEXT