C++ Static Data Question:

What is reference variable in C++?

Tweet Share WhatsApp

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++ Static Data PDF Read All 17 C++ Static Data Questions
Previous QuestionNext Question
What is static type varidentifier?What is local class in C++?