Where values live
Every variable sits somewhere in memory. A pointer is that place's address. Pass the address, and a function can change your variable instead of a copy of it.
Every variable sits somewhere in memory. A pointer is that place's address. Pass the address, and a function can change your variable instead of a copy of it.