+1 vote
What is the difference between pointer object vs referrence object in c++?
in Programming by (354 points) | 218 views

Please log in or register to answer this question.

1 Answer

0 votes
A pointer in C++ is a variable that holds the memory address of another variable. A reference is an alias for an already existing variable. Once a reference is initialized to a variable, it cannot be changed to refer to another variable.
by (256 points)