If C++, if I write:
int i = 0; int& r = i;
then are i and r exactly equivalent?
i
r
That means that r is another name for i. They will both refer to the same variable. This means that if you write (after your code):
r = 5;
then i will be 5.