What are Storage Classes in C ?
Answer Posted / vijoeyz
C has three types of storage: automatic, static and
allocated.
Variable having block scope and without static specifier
have automatic storage duration.
Variables with block scope, and with static specifier have
static scope. Global variables (i.e, file scope) with or
without the the static specifier also have static scope.
Memory obtained from calls to malloc(), alloc() or realloc()
belongs to allocated storage class.
--
http://www.geocities.com/vijoeyz/faq/
| Is This Answer Correct ? | 27 Yes | 282 No |
Post New Answer View All Answers
explain how do you use macro?
Whats s or c mean?
What is the acronym for ansi?
How can I manipulate strings of multibyte characters?
What does sizeof function do?
Is null always equal to 0(zero)?
Are bit fields portable?
What is use of pointer?
Where static variables are stored in memory in c?
How can you increase the size of a statically allocated array?
Explain what is the heap?
What is a wrapper function in c?
Do you know the use of 'auto' keyword?
What is hungarian notation? Is it worthwhile?
What does & mean in scanf?