S
subramanian100in
From
http://groups.google.com/group/comp...e5e37fd194d/6e2e8424a1cfbd2b#6e2e8424a1cfbd2b
the following portion is taken.
" 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
http://groups.google.com/group/comp...e5e37fd194d/6e2e8424a1cfbd2b#6e2e8424a1cfbd2b
the following portion is taken.
" 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