484
got him
(lemy.lol)
Post funny things about programming here! (Or just rant about your favourite programming language.)
No.
++p returns incremented p.
p += 1 returns incremented p.
p = p + 1 returns incremented p.
p++ returns p before it is incremented.
Right. So i had them the other way around. :D
Thanks for clarifying.