automatic variable in C

All variables in C that are declared inside the block, are automatic variables by default. We can explicitly declare an automatic variable using auto keyword.
<pre><code>
void main() {
  int x = 10; //local variable (also automatic)  
  auto int y = 20; //automatic variable  
}
</code></pre>