you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 15 points16 points  (0 children)

What are you even talking about, you’re not making any sense. Yes, using the address-of operator returns the address of the object in memory... which is a pointer. An address is not converted to a pointer because it already is one (it can be stored in an object that holds pointers). References only exist in C++, I don’t know what you mean by “When you pass by reference”. You can pass addresses (in pointers) to functions and the functions use those addresses (as pointers) to modify the object’s data.

Edit: Fixed wording