External variables

Where declared: at top level outside functions

When created: when program starts executing

When destroyed: when program finishes executing

Accessible to: remainder of file and other files via extern

Default initial value: 0 or NULL.

Other names: global variable

Index