cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
int main() return valueof type int to ?
int main() return valueof type int to ??
Mar 27, 2013 at 10:58am UTC
Anshh
(8)
main() return value to whom ?
Mar 27, 2013 at 11:03am UTC
Chervil
(7320)
To the calling process - usually the operating system. If a program is executed as part of a batch script, the return value may be used to decide which part of the script to execute next etc.
Last edited on
Mar 27, 2013 at 11:03am UTC
Mar 27, 2013 at 1:44pm UTC
Anshh
(8)
thanks
Topic archived. No new replies allowed.