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
How do you handle drag and drop in ole?
Do I need ms visual c++ on my computer?
What is microsoft visual c++ 2015 redistributable package x64?
How you build a project using Developer Studio?
What is the difference between turbo c++ and visual c++?
What is visual c++ used for?
Where can I find microsoft visual c++?
Difference between critical section, mutex and semaphore.
What is splitter window in vc++?
Do I need microsoft visual c++ on my computer?
What is iunknown?
What is ole? How do you handle drag and drop in ole?
How do I reinstall microsoft visual c++?
How do I get rid of microsoft visual c++ runtime library error?
What is vcruntime?