What is the difference between pointer and reference?

Answer Posted / praveena

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
objects while a reference always refers to an object with
which it was initialized.

Is This Answer Correct ?    30 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1721


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

546


Explain pointer to the constant and constant pointer?

502


What is difference between c++ and vc++?

693


How do I uninstall vc++ 2015?

512






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

618


Can I remove microsoft visual c++?

592


Do I need microsoft visual c++ 2005 redistributable on my computer?

647


What is microsoft visual c++ 2015 redistributable package x64?

556


Is microsoft visual c++ important?

630


What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

609


What is microsoft visual c++ used for?

559


Explain the advantages of cwinthread class.

595


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

1751


What is cmutex? How can we use it?

573