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

What is return type in c?

635


What is the difference between pure virtual function and virtual function?

643


What is the use of parallelize in spark?

570


What is nested structure?

567


What do you mean by Recursion Function?

625






The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

621


What are register variables in c?

567


How can I make it pause before closing the program output window?

568


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

615


How are pointers declared in c?

590


Can the size of an array be declared at runtime?

599


Explain what are compound statements?

597


Why is c called c not d or e?

600


What are the types of functions in c?

563


What should malloc() do?

637