Ok, The only reason I'm asking this is because I want to be absolutely clear on it. In C++, if I write
Is this the same thing as:
int& iSomeRef = ...;
int &iSomeRef = ...;
It does give the same result as each other but there could be some unknown thing that a simple test would not show me, I just want to be clear.
EDIT: I also have another question, if I have this code:
int** toipArray= &ipArray;
where ipArray will point to an array of ints.
What would each of these memory addresses refer to:
Does the toipArray refer to it's own address? and the *toipArray refers to the memory address that it points to(i.e. &ipArray)?
Edited by Akill10: n/a