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



How to create a reference variable in C++..

Answer / 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

More C++ General Interview Questions

What is a storage class? Mention the storage classes in c++.

0 Answers  


Explain the properties and principles of oop.

0 Answers  


What are namespaces in c++?

0 Answers  


To which numbering system can the binary number 1101100100111100 be easily converted to?

0 Answers  


Why is "using namespace std;" considered bad practice?

0 Answers  


What is the purpose of templates in c++?

0 Answers  


What are the characteristics of friend functions?

0 Answers  


program to print this triangle * * * * * *

12 Answers   Infosys,


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

5 Answers  


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

0 Answers  


What is a .lib file in c++?

0 Answers  


Is c++ harder than java?

0 Answers  


Categories