Code style: In C, declare variables at the beginning of the block for compatibility with older compilers.