What is meant by reference variable in C++?



What is meant by reference variable in C++?..

Answer / 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

More C++ General Interview Questions

Differentiate between the manipulator and setf( ) function?

0 Answers  


What is switch case in c++ syntax?

0 Answers  


class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected

3 Answers   Quark,


What is the use of seekg in c++?

0 Answers  


What is "mutable" keyword?

2 Answers   Infosys, Teradata,






What is a tuple c++?

0 Answers  


Describe exception handling concept with an example?

0 Answers  


When we use Abstract Class and when we use Interface?where we will implement in real time?

0 Answers  


Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number

1 Answers   TATA, TCS,


How can you create a virtual copy constructor?

0 Answers  


How much maximum can you allocate in a single call to malloc()?

0 Answers  


What is the use of pointer in c++ with example?

0 Answers  


Categories