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 reference?

Answer Posted / basudha

A reference must always refer to some object and,
therefore, must always be initialized;
pointers do not have such restrictions. A pointer can be
reassigned to point to different
)u can assign NULL to a pointer.like int *p=NULL; but u
can't assign NULL to a reference.like int
&P=NULL//incorrect.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is vcruntime?

1082


Do you need microsoft visual c++?

1118


Is microsoft visual c++ a virus?

1232


What is cwinthread class? Explain its advantages.

1121


What is a wizard?

2286


How do I create an mfc application in vc++?

1094


What is a microsoft visual c++ 2008 redistributable?

1046


In which Way invoke context-sensitive help inside the editor?

2261


Explain the significance of initapplication() in vc++.

1175


Do I need microsoft visual c++?

1075


Do I need the microsoft visual c++?

1099


Do I need ms visual c++ on my computer?

1071


What is ole? How do you handle drag and drop in ole?

1007


What is a copy constructor? What is the need for it?

1053


How do I reinstall visual c++ on windows 10?

1056