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
Is visual c++ the same as c++?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
How do I remove microsoft visual c++ 2015 redistributable?
Do I need microsoft visual c++?
What is microsoft visual c++ 2013 redistributable package x64?
What is a copy constructor? What is the need for it?
What is ole? How do you handle drag and drop in ole?
What is odbc in vc ++?
difference between assert and verify.
how to declare and populate an array of checkBoxes
How can we use cmutex?
What is microsoft visual c++ 2015 redistributable?
What is visual c++ 2010 redistributable package x64?
What is a microsoft visual c++ 2008 redistributable?
What is microsoft visual c++ 2013 redistributable?