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 struct time where integer m, h, s are its members?

607


What is #include iomanip?

633


List different attributes in C++?

731


what you know about c++?

759


Is the declaration of a class its interface or its implementation?

792






Is overriding possible in c++?

647


How do you invoke a base member function from a derived class in which you’ve overridden that function?

668


Write a function that swaps the values of two integers, using int* as the argument type?

686


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

904


Describe the setting up of my member functions to avoid overriding by the derived class?

699


Difference between pass by value and pass by reference?

696


In what situations do you have to use initialization list rather than assignment in constructors?

718


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1113


What is std :: endl?

680


What is :: operator in c++?

682