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 the difference between Pointer and a Reference?
When you would use them?

Answer Posted / man

Reference is alias of a variable i.e. a constant pointer
which reference to a variable and can not be NULL.
You can not can get the address of ref. They are used as a
variable.

Pointers are variale that hold address of variable and can
be NULL. And can point to any number of variable.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string in c++ programming?

1118


what you know about c++?

1099


Who calls main function?

1059


Write a program which uses functions like strcmp(), strcpy()? etc

1052


How should a contructor handle a failure?

1125


What is flag in computer?

994


Do inline functions improve performance?

1019


What is boyce codd normal form in c++?

1113


What are advantages of using friend classes?

1017


What is abstraction c++?

951


What are the advantages of inheritance in c++?

1055


Which bit wise operator is suitable for putting on a particular bit in a number?

1146


Is it possible for the objects to read and write themselves?

1061


What is vectorial capacity?

1127


Does c++ have a hash table?

948