Yes, variable declaration in for loops is part of the C99 standard
(http://open-std.org/JTC1/SC22/WG14/www/docs/n897.pdf page 84 and 85)


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com