Static Storage class : When a variable is declared as static, it is stored in the memory.
The default value of the variable will be zero. Scope of the variable is within the block where
it is defined and the life of the variable persists between different function calls. To define a variable as static storage class, the keyword „static‟ is used. A static variable can be initialized only once, it cannot be reinitialized.
Syntax of the Declaration of static variables:
static data_type variable_name;