Pointer Basic Understanding Qustions

Jul 23, 2011 at 1:42am
So the difference between (&) reference operator and (*) de-reference operator, is basically that the reference of a variable points to the address in memeory? But not its value?

And the de-reference operator points to the value of the address in memory?

But the reference operator and de-reference operator's when used are considered pointers? Is that basically it?
Last edited on Jul 23, 2011 at 1:42am
Jul 23, 2011 at 2:00am
I think your understanding is correct.

& refers to the address of something, * means what the address of something is referring to.

That's what I think.
Topic archived. No new replies allowed.