Interview Questions

What is storage class and what are storage variable ?

C Interview Questions and Answers


(Continued from previous question...)

What is storage class and what are storage variable ?

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

(Continued on next question...)

Other Interview Questions