The main() Function
A function returns its result (and control) to its caller. The caller for the main() function is the operating system.
Zero is usually returned to UNIX to signal the successful completion of the program.
Previous slide
Next slide
Back to first slide
View graphic version