There's a little more to it than that.
In the above code, if i is 10, the test is made on 11. The prefix increment defines the variable is increased before it is used.
When you overload the prefix increment, you return the object after it is incremented.
In the above code, if i is 10, the test is made on 10. Then i is incrmented to 11. The postifx increment defines the variable is used and then incremented.
When you ovarload the postfix increment, you save a copy of the object, increment the original object and then return the saved copy that has the original value.