|
|
|
|
|
by captainmuon
1900 days ago
|
|
"auto" probably is the storage class, it tells what kind of variable this is. Automatic as opposed to "register" which would force the variable to be a register, or "static" or "extern". The type is not given at all, I think by default it would be "int". |
|
Yep, this is called the "implicit int" rule, and it was specifically outlawed[1] by C99 and onward.
[1] https://herbsutter.com/2015/04/16/reader-qa-why-was-implicit...