Oh and if you can use C99 the variable definitions can be intermixed with the statements like in C++, so if you wanted to you could wait to define it until the last possible place. But in the program above the last possible place is the same as the beginning of the if block enclosing the stat call, so there's no difference.
|