According to syntax postfix increment returns copy of unmodified variable (C++ == C), while prefix increment returns incremented variable (++C == C + 1).

  • INeedMana
    arrow-up
    17
    arrow-down
    0
    ·
    26 days ago
    link
    fedilink

    But it’s still C

    I think ++C is going full ahead to D

    • Aatube
      arrow-up
      7
      arrow-down
      0
      ·
      26 days ago
      link
      fedilink

      Agreed. C is a char, and ++'C' results in 'D'.