• JackbyDev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Reading anything to do with pointers in C is confusing to me. Sorry to disappoint you.

    • miversen33@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      A pointer is nothing but an integer that “points to” a memory location.

      They can feel intimidating because it’s really easy to footgun with them, but they are not as complicated as they appear :)

      • JackbyDev
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        The pointer syntax being slightly different than the pointer declaration syntax always confuses me to no end. I conceptually under pointers perfectly but their syntax is wack.