The main() Function
Function body:
Declarations
Executable statements
Example:
int main (void)
{ int a, b, c;
b = 5; c = 3;
a = b + c;
return 0;
}
Previous slide
Next slide
Back to first slide
View graphic version