What is storage class?
Basically, storage class defines the scope and life-time of the variable or function within the C++ program.
How many type of storage class we have?
There are 5 type:
Auto storage class:
-It is automatically decide the data type of the variable.
-Using this we can direct store variable in CPU register.
-Shareable memory for every instance of object.
-Used to define external(global) variable.