DEV Community

Discussion on: Storage Classes in C

Collapse
 
pauljlucas profile image
Paul J. Lucas
  1. You list extern twice.
  2. You omitted register. However, register has been pretty useless for many years since compilers are generally better at optimization than humans.
  3. You never need auto in C. It's a relic from B.