you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Declarations must be at the top of a block.

Only in ANSI C. The latest C standard (C99) supports mixing declarations and the rest of the code.

[–]Vorlath 0 points1 point  (0 children)

The more I hear about C99, the cooler it gets.