• PanArab@lemm.ee
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      2
      ·
      edit-2
      1 year ago

      That’s not 64 rocks

      Edit: In C any number that starts with 0 is implicitly interpreted as an octal.

      int i = 0100; // this is octal 100 i.e. 64
      

      I can tell from the upovotes vs. downvotes that I’m too old

        • PanArab@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          1 year ago

          In C any number that starts with 0 is implicitly interpreted as an octal

          int i = 0100; // this is octal 100 i.e. 64