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
What is a microsoft visual c++ 2008 redistributable?
What is microsoft visual c++ 2013 redistributable?
Do I need ms visual c++ on my computer?
What is microsoft visual c++ 2015 redistributable?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
Is visual c++ a compiler?
What is the difference between an MLE and an SLE?
What is microsoft visual c++ used for?
What is visual c++ used for?
How do I install microsoft visual c++ 2015?
What is cmutex? How can we use it?
What is difference between c++ and visual c++?
Is it ok to uninstall microsoft visual c++?
Do you need microsoft visual c++?
How do I change visual code font?