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
What is pointer and structure in c?
What is variable declaration and definition in c?
How many bytes is a struct in c?
How can I delete a file?
What is an auto keyword in c?
How are portions of a program disabled in demo versions?
program for reversing a selected line word by word when multiple lines are given without using strrev
What are pragmas and what are they good for?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Is int a keyword in c?
Why do we use header files in c?
What is void pointers in c?
What is the size of structure in c?
What is a macro?
What is unary operator?