C++ Programmer Question:

Please explain what is a reference variable in C++?

Tweet Share WhatsApp

Answer:

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.

Read All 59 C++ Programmer Questions
Previous QuestionNext Question
What is an inline function in C++?Explain what is the role of protected access specifier?