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 c++ array?

1120


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1077


What do you mean by inheritance in c++?

1103


How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?

1038


Define token in c++.

1146


What kind of problems can be solved by a namespace?

1096


What is dynamic and static typing?

1190


What is the difference between structures and unions?

1064


What are the extraction and insertion operators in c++? Explain with examples.

1195


Is there finally in c++?

1108


How are virtual functions implemented in c++?

1071


What is auto type c++?

1127


What is iterator in c++?

1116


Mention the purpose of istream class?

1113


What is a hashmap c++?

1121