+151 votes
438 views
What is the difference between pointer object vs referrence object in c++?
in Programming by (1.1k points) | 438 views

Please log in or register to answer this question.

1 Answer

+159 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 (1.0k points)