• Susaga@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      84
      ·
      2 days ago

      I think int*** is meant to be pointing at int**, but the image is just unclear about where everything is in perspective.

      • dohpaz42@lemmy.world
        link
        fedilink
        English
        arrow-up
        32
        arrow-down
        4
        ·
        2 days ago

        Pretty sure the image is clear:

        int*** -> int*
        int** -> int
        Int* -> int
        

        Clarity doesn’t mean correct. But that’s probably why it’s posted here. 🤷‍♂️

    • ジン@quokk.au
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      That’s not the end of the chain either, right?

      Because : int -> &int -> &&int

      Or can you not use the address operator like that? It also might be int& &, I failed cs2200 on this exact type of technicality