What are Storage Classes in C ?
Answer Posted / sanya
stroge refes to the scope of the variable and memory
allocatin by the compiler to store the varibl. scope of a
variable is the boundary within which a variable can be
used store class defines the scope and lifetime of variable.
from the point of c compiler,a variable name identifies
physical loction from from a computer where variable is
stored. there are to memory location in a computer system
where variable are stored as memory and cpu register
there are four type
1.automatic
2.register
3.static
4.external
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why can’t we compare structures?
Explain what are bus errors, memory faults, and core dumps?
What is dynamic variable in c?
Does sprintf put null character?
Explain what is the difference between functions getch() and getche()?
What is pragma in c?
develop algorithms to add polynomials (i) in one variable
Explain how do you use a pointer to a function?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
How can I delete a file?
What is non linear data structure in c?
Distinguish between actual and formal arguments.
What is an identifier?
What is static function in c?
How to write a multi-statement macro?