local variable in C

A variable that is declared inside the function or block is called a local variable, or automatic variable in C.
It must be declared at the start of the block.
```
void function(){  
  int x=10; //local variable  
}  
```
We can explicitly declare an local variable using auto keyword.