What is the difference between reference and a pointer in c++.
Anónimo
in c++, reference is just an alias to the object whose reference is taken, while pointer is a variable that stores the address to some memory space where the value of the object is stored whose pointer is defined,