static storage class or variables
A variable is declared to be static by prefixing its normal
declaration with the keyword static, as in
static int a;
since the property of a variable may be stated in any order we could also
int static a;
Static variables can be declared within a
function. These variables retain their values from the previous call. i.e., the
value that they had before returning from the function.
This is illustrated in
the following example.