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
Where can I find microsoft visual c++ on my computer?
What is vcruntime?
How do I reinstall visual c++ on windows 10?
What is microsoft visual c++ 2008 redistributable and do I need it?
What is a copy constructor? What is the need for it?
Is visual c++ the same as c++?
How do you handle drag and drop in ole?
hello sir i need movie editing and mixing software .where it is available and what is the site address
What is vcredist_x86 exe?
What is mfc in vc++?
Explain the significance of initapplication() in vc++.
What is splitter window in vc++?
Explain the important features of vc++?
What is the difference between an MLE and an SLE?
What is microsoft visual c++ 2005 redistributable?