+1 vote
198 views
What is the difference between pointer object vs referrence object in c++?
in Programming by (267 points) | 198 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 (198 points)