What is a reference variable in C++?

Trainee Asked on August 15, 2019 in C++ Language.
Add Comment
1 Answer(s)

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.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.