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
Tell me what are bitwise shift operators?
What is bubble sort technique in c?
Can a file other than a .h file be included with #include?
Explain two-dimensional array.
Why is it usually a bad idea to use gets()? Suggest a workaround.
Not all reserved words are written in lowercase. TRUE or FALSE?
What is the most efficient way to store flag values?
What are the types of arrays in c?
Explain how do you determine whether to use a stream function or a low-level function?
Why c is procedure oriented?
What is 2 d array in c?
Tell us the use of fflush() function in c language?
What is the use of bitwise operator?
Explain what are multibyte characters?
Can we assign integer value to char in c?