Variables in C Language

Variable in C is used to give storage to a specific name

> Local Variable     > Global Variable  > Static Variable

Local Variable gets temporary memory allocation. The scope and visibility of local variable is restricted inside the function block where it is declared. The lifetime of local variable is equal to the lifetime of function.