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 this pointer in c++?

1482


How many standards of c++ are there?

1143


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1104


Describe the advantage of an external iterator.

1080


What is the difference between ++ count and count ++?

1196


What do you mean by stack unwinding in c++?

1287


Is dev c++ free?

1098


What happens if a pointer is deleted twice?

1322


Explain differences between new() and delete()?

1146


What is problem with overriding functions?

1114


Can recursive program be written in C++?

1269


How static variables and local variablesare similar and dissimilar?

1093


How do I run a program in notepad ++?

1168


What is wrapper class in c++?

1195


How do you establish an is-a relationship?

1214