c/c++

Programming

For-loop, to ++i or i++ or not?

I just recalled an interesting theory mentioned by my C lecturer back in uni days, use ++i instead of i++ in a for-loop.

Read