@[email protected] to Programmer [email protected]English • 9 months agogot himlemy.lolimagemessage-square134fedilinkarrow-up1475arrow-down141
arrow-up1434arrow-down1imagegot himlemy.lol@[email protected] to Programmer [email protected]English • 9 months agomessage-square134fedilink
minus-square@SpaceNoodlelink5•9 months agoNo. ++p returns incremented p. p += 1 returns incremented p. p = p + 1 returns incremented p. p++ returns p before it is incremented.
minus-square@fluckxlink3•9 months agoRight. So i had them the other way around. :D Thanks for clarifying.
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.