DEV Community

Discussion on: Don't initialize your variables

Collapse
 
txai profile image
Txai

Only a minor observation that, since C99 you can declare variables in any point in the function, not only at the top. You can even declare the variable inside the for clause

Collapse
 
idanarye profile image
Idan Arye

True, but old habits die hard.