What are Storage Classes in C ?

Answer Posted / bhagwan singh mer

if we declare any variable its type and storage class is
also be declare.storage class tells us that
1.where the variable is stored.
2.what is its initial value.
3.what is the scope of the variable.
4.and last is what is the life of the variable.
THERE ARE FOUR TYPES OF STORAGE CLASS IN C-
1.AUTOMATIC STORAGE CLASS
2.REGISTER STORAGE CLASS
3.STATIC STORAGE CLASS
4.EXTERNAL STORAGE CLASS

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer and structure in c?

583


What is variable declaration and definition in c?

510


How many bytes is a struct in c?

735


How can I delete a file?

638


What is an auto keyword in c?

654






How are portions of a program disabled in demo versions?

765


program for reversing a selected line word by word when multiple lines are given without using strrev

1953


What are pragmas and what are they good for?

584


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

575


Is int a keyword in c?

568


Why do we use header files in c?

592


What is void pointers in c?

599


What is the size of structure in c?

709


What is a macro?

668


What is unary operator?

669