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
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is difference between union and structure in c?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What are the back slash character constants or escape sequence charactersavailable in c?
The file stdio.h, what does it contain?
Write a progarm to find the length of string using switch case?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Explain what is the benefit of using const for declaring constants?
What are multidimensional arrays?
Where local variables are stored in c?
What is typedef example?
What is wrong with this program statement?
How is a macro different from a function?
What are volatile variables in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?