Storage class in C: The storage class is used to define the scope, life time and visibility of the variable. There are four types of storage class in C programming language. Auto Extern Register Static Auto : Auto is the default storage class for all the variables.