What are Storage Classes in C ?
Answer Posted / thomas
Basically, storage classes in c are there to define the
storage & scope of the various sorts of variables.
we r having following 4 storage classes in C.
01.auto
02.register
03.extern
04.static
In this auto & register has local scope releted to block &
extern & static has global scope to main program.
| Is This Answer Correct ? | 129 Yes | 21 No |
Post New Answer View All Answers
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is modifier & how many types of modifiers available in c?
What is local and global variable in c?
Subtract Two Number Without Using Subtraction Operator
What are terms in math?
Is c is a high level language?
What are types of preprocessor in c?
Is c++ based on c?
Where define directive used?
Explain how can I remove the trailing spaces from a string?
How do you declare a variable that will hold string values?
What is a protocol in c?
What are the advantages of Macro over function?
Why can’t we compare structures?
What is an identifier?