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...

How to create a reference variable in C++

Answer Posted / hrpynux@gmail.com

When a variable is declared as a reference, it becomes an alternative name for an existing variable. A variable can be declared as a reference by putting '&' in the declaration.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the type of 'this' pointer? When does it get created?

912


Is c++ vector dynamic?

1011


Why c++ is the best language?

1006


Are vectors passed by reference c++?

939


How can a called function determine the number of arguments that have been passed to it?

1077


What is flush programming?

952


What is a class definition?

1010


What is the benefit of c++?

1048


Write a program to show polymorphism in C++?

1079


How do you add an element to a set in c++?

933


Why struct is used in c++?

1066


What is a type library?

1062


How would you use qsort() function to sort an array of structures?

1064


What's the "software peter principleā€?

1089


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1015