Storage class in C decides the part of storage to allocate memory for a variable, it also determines the scope of a variable.
All variables defined in a C program get some physical location in memory where variable's value is stored.
The storage class of a variable in C determines the life time of the variable if this is 'global' or 'local'.
Static variables can be used within function or file. Unlike global variables, static variables are not visible outside their function or file, but they maintain their values between calls.
The variables defined as static specifier can hold their value between the multiple function calls.
A same static variable can be declared many times but can be assigned at only one time.
Default initial value of the static integral variable is 0 otherwise null.
1 0 2 1