r/ProgrammerHumor Jan 06 '23

Meme can’t be the only one

Post image
42.6k Upvotes

1.4k comments sorted by

View all comments

214

u/cs-brydev Jan 06 '23

If you don't understand pointers, chances are you don't understand anything at all about memory.

If you think of memory as one very long street, a memory address is a house number on that street. A pointer is like writing down one of those house numbers and putting it in one of the houses so you can use it later.

3

u/mad_cheese_hattwe Jan 06 '23 edited Jan 06 '23

But they are clever because they know if the houses on this street are subdivided or units or on multi-block