C++ References Question:
Download Job Interview Questions and Answers PDF
What is reference variable?
Answer:
A reference variable is just like pointer with few differences. It is declared using & operator. A reference variable must always be initialized. The reference variable once defined to refer to a variable can’t be changed to point to other variable. You can't create an array of references the way it is possible with pointer.
Download C++ References Interview Questions And Answers
PDF
Previous Question | Next Question |
What means pass by pointer? | What is a local reference? |