Question:
What is storage class and what are storage variable ?
Answer:
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 Source: CoolInterview.com
A storage class is an attribute that tells the scope of accessibility and also changes the behavior of variable. there are five types of storage classes in C-programming. 1)auto(local) 2)extern(global) 3)static 4)register(faster memory) 5)typedef(user defined data type). Source: CoolInterview.com
Answered by: LAXMAN HONAWAD | Date: 11/21/2009
| Contact LAXMAN HONAWAD
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|