A storage class is an attribute that changes the behavior of a variable. It controls the lifetime, scope and linkage.
There are five types of storage classes
1) auto
2) static
3) extern
4) register
5) typedef
A storage class is an attribute that tells the scope of accessability and also changes the behaviour of variable. there are five types of storage classes in C-programming. 1)auto(local) 2)extern(global) 3)static 4)registr(faster memory) 5)typedef(user defined data type).