What is the difference between local variables auto int a and int a?

c

Solution

There is strictly no difference.

{
   auto int a;
   /* ... */
}

and

{
   int a;
   /* ... */   
}

are equivalent.

The common practice is not to put the `auto` specifier.

Problem

Use case of storage class identifier auto?I understand that all local variables are auto by default. But whats makes difference by writing explicitly auto int a ?

Original source

Related problems