Tuesday, February 8, 2011

Storage classes in c


In c there are four types of storage class. They are:

1. auto

2. register

3. static

4. extern


Storage class is modifier or qualifier of data types which decides:





1. In which area of memory a particular variable will be stored?


2. What is scope of variable?

3. What is visibility of variable?



Visibility of a variable in c:



Visibility means accessibility. Up to witch

No comments:

Post a Comment