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 goto?
Explain what is the difference between a free-standing and a hosted environment?
What is the use of typedef in c?
What header files do I need in order to define the standard library functions I use?
What is the use of static variable in c?
hi, which software companys will take,if d candidate's % is jst 55%?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
Should I learn data structures in c or python?
What are the different types of endless loops?
Is null equal to 0 in sql?
Write a program to implement queue.
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What are the types of functions in c?
Explain what are the different file extensions involved when programming in c?
Explain what does a function declared as pascal do differently?