Storage class is a concept In C which provides information about the variable's visibility ,lifetime and scope.
Storage class tells about the following things of variable.
i) Scope of variable
ii) Initial value of variable
iii) Storage location of variable
iv) Life span of variable
Types of storage class:-
i) Automatic variables
ii) External variables
iii) Static variable
iv) Register variable
Different types of storage class are explained in the table given below:-
Storage class tells about the following things of variable.
i) Scope of variable
ii) Initial value of variable
iii) Storage location of variable
iv) Life span of variable
Types of storage class:-
i) Automatic variables
ii) External variables
iii) Static variable
iv) Register variable
Different types of storage class are explained in the table given below:-
Comments
Post a Comment