• @SpaceNoodle
    link
    59 months ago

    No.

    ++p returns incremented p.

    p += 1 returns incremented p.

    p = p + 1 returns incremented p.

    p++ returns p before it is incremented.

    • @fluckx
      link
      39 months ago

      Right. So i had them the other way around. :D

      Thanks for clarifying.