3 ms·
(C does not require all variables to be declared at the top of the scope.) Even if you're using a version of C that does, the order of variables implies someth
by SamReidHughes 12y ago
(C does not require all variables to be declared at the top of the scope.) Even if you're using a version of C that does, the order of variables implies something about their lifetimes and your code could make somebody refactoring more likely to believe they can lift the pointer out to the containing scope, or put the int in a smaller scope.