What is a reference in C++?



What is a reference in C++?..

Answer / hrpynux@gmail.com

References are the third basic kind of variable that C++ supports. A reference is a C++ variable that acts as an alias to another object or value. C++ supports three kinds of references: References to non-const values (typically just called “references”, or “non-const references”), which we'll discuss in this lesson.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Disadvantages of c++

8 Answers   HCL,


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

0 Answers  


A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

0 Answers  


What is an html tag?

0 Answers  


What is c++ in english?

0 Answers  






What is runtime polymorphism in c++?

0 Answers  


what is upcasting in C++?

0 Answers  


Explain what are single and multiple inheritances in c++?

0 Answers  


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

0 Answers  


given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


Which operator cannot overload?

0 Answers  


What is function declaration in c++ with example?

0 Answers  


Categories