What is meant by reference variable in C++?

Answer Posted / hrpynux@gmail.com

A reference variable is an alias, that is, another name for an already existing variable. Once a reference is initialized with a variable, either the variable name or the reference name may be used to refer to the variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

706


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

2440


What does obj stand for?

633


What is the use of endl?

550


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

2001






Write about the role of c++ in the tradeoff of safety vs. Usability?

600


Can a program run without main?

631


What is a c++ class?

621


Can char be a number c++?

595


What is new in c++?

581


Explain the difference between realloc() and free() in c++?

536


What is a manipulator in c++?

715


Can we overload operator in c++?

552


Explain this pointer?

585


How to demonstrate the use of a variable?

644