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 the difference between turbo c++ and visual c++?

1011


What is a microsoft visual c++ 2008 redistributable?

994


Explain pointer to the constant and constant pointer? Explain difference between them.

1103


Difference between getmessage, postmessage & peakmessage.

1023


Does visual c++ 2017 replace 2015?

981


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

2237


Do I need the microsoft visual c++?

1033


hello sir i need movie editing and mixing software .where it is available and what is the site address

2165


What is iunknown? Explain some of commonly used methods provided by iunknown.

1081


How do I install microsoft visual c++ 2015?

997


What is cmutex? How can we use it?

1008


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

2215


What is microsoft visual c++ 2017 redistributable?

1028


What is vc++ redistributable?

1280


What is dao in vc ++?

916