From
the following portion is taken.
"Mike Wahler" <mkwah...@mkwah ler.netwrote:
" An object will occupy memory space (in
your program's memory area). A reference is simply another
name for the same memory area. 'Behind the scenes', your
C++ implementation might (and probably does, but isn't
required to) use memory to make the reference work, but
from your program's perspective, it does not occupy any memory."
My Question:
-------------------
From the above, I understand the following:
Because a reference does not occupy memory from the program's
viewpoint, we cannot have array of references.
Is my understanding correct ? Kindly explain
Thanks
V.Subramanian
the following portion is taken.
"Mike Wahler" <mkwah...@mkwah ler.netwrote:
" An object will occupy memory space (in
your program's memory area). A reference is simply another
name for the same memory area. 'Behind the scenes', your
C++ implementation might (and probably does, but isn't
required to) use memory to make the reference work, but
from your program's perspective, it does not occupy any memory."
My Question:
-------------------
From the above, I understand the following:
Because a reference does not occupy memory from the program's
viewpoint, we cannot have array of references.
Is my understanding correct ? Kindly explain
Thanks
V.Subramanian
Comment