Mapa mental
Chapter 4: Functions and Program Structure

Contenido del mapa
Chapter 4: Functions and Program Structure
Functions
- Used to separate parts of the code.
- Declaration Form
- Can return any type like int, double, string, etc. or nothing (void).
External Variables
- They are used whenever a variable needs to be accessed by many functions.
Headers
- They're used to declare and define for the files.
Static Variables
- They are for the private use of the functions in their respective source files, and are not meant to be accessed by anything else.
Register
- A register declaration advises the compiler that the variable in question will be heavily used.
Block Structure
- Declarations of variables (including initializations) may follow the left brace that introduces any compound statement.
- Variables declared in this way hide any identically named variables in outer blocks, and remain in existence until the matching right brace.
- Declarations of variables (including initializations) may follow the left brace that introduces any compound statement.
Initialization
- In absence of explicit initialization, external and static variables are set to 0. Automatic and register are undefined.
Recursion
- Whenever a function calls itself.
The C Preprocessor
- File Inclusion
- Macro Substitution
- Conditional Inclusion
Imágenes y archivos del mapa
Información
- Descripción
- Mapa Mental sobre Chapter 4: Functions and Program Structure, creado por Mauro Aguero el 25/08/2021.
- Creado por
- Mauro Aguero
- Visitas
- 0
- Valoración
Más sobre Functions and Program Structure






