If C++, if I write:
int i = 0; int& r = i;
then are i and r exactly equivalent?
i
r
The Reference is an alias of an object. i.e alternate name of an object. Read this article for more information - http://www.parashift.com/c++-faq-lite/references.html