static variable in C

A variable that is declared with the static keyword is called static variable. 
It retains its value between multiple function calls.
```
void function() {
  int x = 10; //local variable  
  static int y = 10; //static variable  
  x = x + 1;
  y = y + 1;
  printf("%d,%d", x, y);
}
```