There are four types of storage classes.
? Automatic : Variable used as a local variable. This is the default one. Initial value of variable is garbage value without initialization.
? Extern : Variable used as a local variable. Retains its value during next function call.
? Regiter : Variable used as a local variable. May be stored in register if possible. Default initial value is garbage value.
? Static : Variable used as a global variable.