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


Please Help Members By Posting Answers For Below Questions

Write a program to check armstrong number in c?

625


What is a constant and types of constants in c?

592


Is c high or low level?

568


Is this program statement valid? INT = 10.50;

677


When a c file is executed there are many files that are automatically opened what are they files?

579






What is getch?

622


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

798


What is include directive in c?

632


How is actual parameter different from the formal parameter?

583


How can you return multiple values from a function?

620


What is the newline escape sequence?

576


What are global variables?

635


what will be the output for the following main() { printf("hi" "hello"); }

9296


What does %2f mean in c?

668


What is keyword with example?

621