+2 votes
in C Plus Plus by

What is a reference variable in C++?

1 Answer

0 votes
by

A reference variable is an alias name for the existing variable. Which mean both the variable name and reference variable point to the same memory location. Therefore updation on the original variable can be achieved using reference variable too.

Related questions

0 votes
asked Jun 11, 2020 in C Plus Plus by Robindeniel
0 votes
asked Jun 15, 2020 in C Plus Plus by Robindeniel
...