Thread
:
Difference btw pointer and a reference in C++?
View Single Post
shabbir
Go4Expert Founder
20Mar2007,13:14
One difference I know is
One is alias. i.e. you have 2 things exactly alike and the other is a pointer to the first object. Analogy can be
x and y hold the same data.
x holds the data and y knows its address where the data of x is