Storage Classes in C programming language
A storage class represents the location of a variable.
We have four different storage classes in a C:-
1. auto
It is the default storage class for all local variables.
2. register
It is used to define local variables that should be stored in a register instead of RAM.
3. static
It is a local variable which is capable of returning a value even when control is transferred to the function call.
4. extern
It is a global variable that is visible to ALL the program files.