18 lines
492 B
Markdown
18 lines
492 B
Markdown
# Module 03: Functions
|
|||
|
|
|
||
|
|
## Learning Goals
|
||
|
|
|
||
|
|
- Declare and define functions with clear interfaces
|
||
|
|
- Pass arguments by value, reference, and `const` reference
|
||
|
|
- Overload functions and use default parameters
|
||
|
|
- Implement recursive algorithms safely
|
||
|
|
|
||
|
|
## Exercises
|
||
|
|
|
||
|
|
| Exercise | Topic |
|
||
|
|
|----------|-------|
|
||
|
|
| `function_basics` | Value/reference parameters, return values |
|
||
|
|
| `overloading` | Function overloading |
|
||
|
|
| `default_parameters` | Default arguments |
|
||
|
|
| `recursion` | Recursive algorithms |
|