Imagine that the computers memory is an row of pigeon holes where you can keep one number in each hole. Now imagine these pigeon holes are numbered. An pointer is then just an number stored in one pigeon hole to refer to another pigeon hole by its number.
View all comments
Show parent comment
2
u/Zarutian Feb 10 '08
I usualy use this explanation:
Imagine that the computers memory is an row of pigeon holes where you can keep one number in each hole. Now imagine these pigeon holes are numbered. An pointer is then just an number stored in one pigeon hole to refer to another pigeon hole by its number.
Clear enaugh?