Contents of unit 5 Unit 5 : Functions 5.1. Motivation: the need for functions. 5.2. A simple example of a function 5.3. Declaration versus definition 5.3.1. The function declaration 5.3.2. The function definition 5.4. Returned types 5.5. Parameter types 5.6. Default parameters 5.7. Function overloading 5.8. Program structure 5.9. Local variables 5.10. Parameters called by value 5.11. Jargon reminder 5.12. A complete example 5.13. Examples 5.13.1. Circle radii and areas 5.13.2. Summation 5.13.3. The OK function