previous | start | next

## Variable Scope and Global Variables (Global Variables)

- Global variables are variables that are defined outside functions.
- A global variable is visible to all functions that are defined after it.
- Sometimes global variables cannot be avoided (`cin`, `cout`, and `cwin`), but you should make every effort to avoid global variables in your program.

previous | start | next