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 a program to concatenate two strings.

795


What does std :: flush do?

885


Is sorted c++?

886


Explain what is polymorphism in c++?

872


What is the use of endl in c++?

794


Describe private, protected and public?

826


What is c++ course?

794


What does flush do c++?

804


What is dynamic and static typing?

894


What is the hardest coding language to learn?

805


can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is somewhere #include #include #include using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<

1847


What is data binding in c++?

719


Explain the virtual inheritance in c++.

810


What is a local reference?

920


What programming language should I learn first?

818