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

What is the function of I/O library in C++ ?

668


What are the basic data types used in c++?

557


Why is "using namespace std;" considered bad practice?

655


What does #define mean in c++?

617


Write syntax to define friend functions in C++.

603






Why do we use iterators?

624


What does new do in c++?

639


write a function signature with various number of parameters.

569


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

1653


Explain the purpose of the keyword volatile.

640


What is near, far and huge pointers? How many bytes are occupied by them?

663


Why should we use null or zero in a program?

606


Why the usage of pointers in C++ is not recommended ?

902


Which function should be used to free the memory allocated by calloc()?

594


Explain linear search.

636