3 ms·
> Since C99, you've been able to write > > for (int i = 0; i < 10; ++i) To be fair, Microsoft's compiler only began supporting that recently, so for cro
by ktRolster 11y ago
> Since C99, you've been able to write
>
> for (int i = 0; i < 10; ++i)
To be fair, Microsoft's compiler only began supporting that recently, so for cross-platform compatible code, people often declared the index outside the loop.