Posts

Showing posts from November, 2020

Storage Class in C

Image
          Storage Class in C Programming                                                (variable storage class)                          From compiler point of view, a variable name identify some physical location in any computer when a string of bits representing a variables value stored. There are basically two kind of location in computer where such values are stored - 1. CPU Registers 2. Main Memory                        It is variable storage class that determine in which of these two types of location, a value  is stored.  There are basically four types of storage class in C language- 1. Automatic Storage Class 2. Register Storage Class  3. Static Storage Class 4. External Storage Class                        Storage classes tell us about - 1. When a variable to be store. 2. What will be the initial value of variable (If initial value is not assigned). 3. Scope and life of variable. 1. Automatic Storage Class                                      A feature of variable define to