Define Static Storage Class in C Programming?
The Static declarations have distinct and important uses. This allows the local variable to keep its previous value when the block is reentered. This is in distinguishing to ordinary automatic variables, which drop their value upon block exit and must be initialized. The value of static variables continues until the end of the program.
A static variable can be declared as
static int x;
static float f;
A static variable may be either an external type or an internal type it depending on the place of declaration.