What does this code mean?

Hi Roy. Any idea of what is going on line 21 here? Thanks.

++ is in place increment. When it is prefixed, as above, it does that operation first, then it can be evaluated in the modulo expression.