Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 THE ABREVATION OF FORTRAN?

4 Answers  


Can malloc be used in c++?

0 Answers  


without if else statement can be written ah

0 Answers  


When can I use a forward declaration?

0 Answers  


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


How do you declare A pointer to function which receives an int pointer and returns a float pointer

0 Answers  


Which programming language should I learn first?

0 Answers  


Explain "passing by value", "passing by pointer" and "passing by reference" ?

5 Answers  


What is c++ used for in games?

0 Answers  


Is set c++?

0 Answers  


What are inline functions? What is the syntax for defining an inline function?

0 Answers  


When should I use unitbuf flag?

0 Answers  


Categories