Shailendra B. answered 04/10/19
Software technical lead with 28 years experience in Embedded/Linux/C
Static simply means the scope of the variable is within that block or file e.g.
static int xyz;
<Contents of file test.c>
"xyz" is only visible in file test.c
void func1 ()
{
static int xyz;
...
}
In the second case, "xyz" is only visible in function "func1"