Chapter 4.
Functions and Program Structure |
| |
|
|
| |
1. Functions ............................................................................. |
2 |
| |
2. Scope Rules ........................................................................ |
3 |
| |
2.1 Storage Classes
|
|
| |
2.2 Internal Variables vs. External Variables |
|
| |
2.3 Static Variables |
|
| |
2.4 Static External Variable |
|
| |
2.5 Register Variables |
|
| |
3. Initialization ........................................................................... |
4 |
| |
4. Recursion .............................................................................. |
5 |
| |
5. The C Preprocessor .............................................................. |
6 |
| |
5.1 File Inclusion |
|
| |
5.2 Conditional Inclusion |
|
| |
5.3 Macro Substitution |
|
| |
5.3.1 Standard Predefined Positioning Macros |
|
| |
5.3.2 Precedence |
|
| |
5.3.3 Token Concatenation |
|
| |
5.3.4 Semicolons |
|
| |
5.3.5 Multiple Statements |
|
| |
5.3.6 Quoting Macro Arguments |
|
| |
5.4 pragma once |
|
| |
5.5 Predefined Names |
|
| |
Summary ................................................................................. |
7 |