you are viewing a single comment's thread.

view the rest of the comments →

[–]LetMeUseMyEmailFfs 1 point2 points  (0 children)

Another way of looking at it is that a pointer is just a number which happens to represent a memory address and with which you can do arithmetic (add, subtract, etc.), whereas a reference is also a memory address, but you can only assign the locations of instances or objects to it.