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

What is a c++ class?

0 Answers  


What is doubly linked list in c++?

0 Answers  


When to use “const” reference arguments in a function?

0 Answers  


Explain deep copy?

0 Answers  


Define token in c++.

0 Answers  






Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

0 Answers  


What is a forward referencing and when should it be used?

0 Answers  


Are strings mutable in c++?

0 Answers  


What is the size of integer variable?

0 Answers  


Which c++ compiler is best?

0 Answers  


What are punctuators in c++?

0 Answers  


Explain mutable storage class specifier.

0 Answers  


Categories