• Susaga@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      80
      ·
      22 hours 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
        28
        arrow-down
        4
        ·
        19 hours 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. 🤷‍♂️

        • Susaga@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 hours ago

          RT*** isn’t pointing at RT*, he’s pointing at the TV showing RT**. The fact you think otherwise is what makes the image unclear. I’m not sure why you insist on them being wrong.

        • mexicancartel@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          7
          ·
          15 hours ago

          int** is inside a TV, and persumably int* must be inside another TV(even though uts not edited in). The image perespective is showing one thing inside the other, inside the other. So when when int*** points the TV it reference int**, which reference int* which reference int. Its just edited very bad

    • ジン@quokk.au
      link
      fedilink
      English
      arrow-up
      3
      ·
      19 hours 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