extern
: variable/function defined externallystatic
:- In global scope: limits visibility to file scope
- In local scope: gives variable static storage duration
- UseΒ
static
Β sparingly in large programs:- Creates tight coupling between modules
- Increases complexity to reason about state