The static keyword is a bit strange When it is placed in front of the variable, the variable is initialized only once and will remain alive until the program runs.
I don't understand what happens if static keyword use in front of the function name ?
C:
#include<stdio.h>
static void foo (void)
{
printf(" do something \n");
}
int main(void)
{
foo();
return 0;
}