1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is C Storage Classes?

Discussion in 'C' started by johnBMitchell, May 9, 2012.

  1. johnBMitchell

    johnBMitchell New Member

    Joined:
    Feb 17, 2011
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    CA, USA
    Home Page:
    When you write program then there are lots of function and variables used to store value on execution time. So how can you define variable or function in such a way that when execution over then it will release memory storage automatically. Answer is C storage, here you can define function or variable scope either it can be global (life time) or just local (execution time only).

    Following are the storage classes which can be used to define scope of variable and function:

    • Auto
    • Register
    • Static
    • Extern
     

Share This Page