January 2, 2021
i am a note
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.
by : Wali Khan
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 […]