If I can come to the defense of C, both languages permit you to declare locally scoped variables at the start of a block. Only in Perl can you declare variables mid-block, although I haven't tested that recently.
In reply to Re^2: Declaring a Variable [for BEGINNERS]
by talexb
in thread Declaring a Variable [for BEGINNERS]
by brusimm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |