int main() return valueof type int to ??

main() return value to whom ?
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
Topic archived. No new replies allowed.