What is the difference between pointer and reference?
Answer Posted / treker
1. Pointer can refer NULL, refernce cannot be NULL
2. Pointer can derefernce to another address, Reference
once initialized stays that way till it dies.
3. pointer may not associate with a legitimate memory but
References should associate with certain memory.
4. pointer may not be initialized while created but
refernce has to intialized when it is created.
| Is This Answer Correct ? | 50 Yes | 4 No |
Post New Answer View All Answers
What is vc++ redistributable?
Where can I find microsoft visual c++ on my computer?
How do I get rid of microsoft visual c++ runtime library error?
Does visual c++ 2017 replace 2015?
hello sir i need movie editing and mixing software .where it is available and what is the site address
What is microsoft visual c++ used for?
Is visual c++ still used?
How you build a project using Developer Studio?
Do I need microsoft visual c++?
How do I install microsoft visual c++ 2015?
What is microsoft visual c++ 2008 redistributable and do I need it?
Do I need microsoft visual c++ 2005 redistributable on my computer?
What is iunknown? Explain some of commonly used methods provided by iunknown.
Explain the advantages of cwinthread class.
Is microsoft visual c++ important?