Tagged: external storage class

Storage Classes in C Programming Language 45

Storage Classes in C Programming Language

A storage class in C is an attribute that tells us where the variable would be stored, what will be the initial value of the variable if no value is assigned to that variable, life time of the variable and scope of the variable. There are four storage classes in C: 1) Automatic storage class 2) Register storage class 3) Static storage class 4) External storage class Automatic storage class in C: The keyword used for Automatic storage class is ‘auto’. The variable declared as auto is stored in the memory. Default value of that variable is garbage value. Scope...