The main() Function
C program consists of functions.
At least one function must be present: main(). Execution of the program starts at this function.
Example:
int main (void)
{
/* body of function */
}
Previous slide
Next slide
Back to first slide
View graphic version