In the examples so far, most of the variables have been declared inside the bodies of functions. This
sort of variable is known in C as an automatic variable. C also allows you to specify that a variable is
either static, register or external. It is possible to declare variables outside the bodies of functions.
Let us consider what these different terms mean.
Next - Automatic variables.
Back to Contents page.