previous |
start |
next
Function Definitions
- Cannot be in the body of another function;
- So a function definition (other than main) must occur either
before or after main, not inside main.
- If a function definition occurs before main, it is
simultaneously a definition and a declaration from main's point of
view.
previous |
start |
next