C - Functions
- Functions break large computing tasks into smaller ones, and enable people to build on what others have done instead of starting over from scratch.
- Functions should be designed such that they hide the details of operation from parts of the programs that don’t need to know about them.
- Functions can occur in any order in the source file, and the source program can be split into multiple files, so long as no function is split.
- There are three steps involved in functions:
- Function declaration/prototyping
- Function definition/implementation
- Calling/Invoking a function