'Storage' refers to the scope of a variable and memory allocated by
compiler to store that variable. Scope of a variable is the boundary
within which a variable can be used. Storage class defines the the scope
and lifetime of a variable.
From the point view of C compiler, a variable name identifies physical location from a computer where variable is stored. There are two memory locations in a computer system where variables are stored as : Memory and CPU Registers.
From the point view of C compiler, a variable name identifies physical location from a computer where variable is stored. There are two memory locations in a computer system where variables are stored as : Memory and CPU Registers.
0 comments:
Post a Comment
Hey this is a test comment