• @[email protected]
    link
    fedilink
    27 months ago

    Can we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?

    • @[email protected]
      link
      fedilink
      57 months ago

      Avoiding global variables is just something dumb people do to protect themselves. Real programmers declare every variable before Main.