TYPES OF STORAGE CLASS

In c storage class use to define the scope and life time of variable and functions.

There mainly 4 storage class in c

1.aoutomatic storage class

2.register storage class

3.static storage class

4.external storage class

a. a variable storage class tells us

1.first where the variable would be stored.

2.what will be the initials value of the variable if initial value is not specified its assigned the default initial value.

3.what is the scope of variable means in which functions the value of variable would be available.

4.what is the life of variable means how long would the variable exists.