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 dao in vc ++?
What is microsoft visual c++ used for?
How do I create an mfc application in vc++?
What is visual c++ runtime error?
Can I uninstall visual c++ 2005?
Explain the significance of initapplication() in vc++.
What is microsoft visual c++ 2015 redistributable?
how to declare and populate an array of checkBoxes
What is microsoft visual c++ 2005 redistributable?
Is visual c++ a compiler?
Is it ok to uninstall microsoft visual c++?
Does visual c++ 2017 replace 2015?
Is visual c++ still used?
Do I need microsoft visual c++ 2005 redistributable on my computer?
How do I get rid of microsoft visual c++ runtime library error?