@[email protected] to Programmer [email protected]English • 1 year agogot himlemy.lolimagemessage-square133fedilinkarrow-up1497
arrow-up1497imagegot himlemy.lol@[email protected] to Programmer [email protected]English • 1 year agomessage-square133fedilink
minus-square@[email protected]linkfedilink5•1 year agoNo. ++p returns incremented p. p += 1 returns incremented p. p = p + 1 returns incremented p. p++ returns p before it is incremented.
minus-squarenelsonlinkfedilink3•1 year 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.