What is a reference in C++?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

List the issue that the auto_ptr object handles?

613


What is the use of dot in c++?

627


What is c++ runtime?

659


What is setfill c++?

687


How can you quickly find the number of elements stored in a dynamic array?

581






What is c++ manipulator?

559


How can you say that a template is better than a base class?

587


Which programming language's unsatisfactory performance led to the discovery of c++?

810


What are smart pointers?

672


what is C++ exceptional handling?

633


What kind of jobs can I get with c++?

601


Which operator cannot be overloaded c++?

593


What is a constructor and how is it called?

602


What is ios in c++?

650


What is atoi in c++?

570