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
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
hello sir i need movie editing and mixing software .where it is available and what is the site address
What is microsoft visual c++ runtime library error?
How do I create an mfc application in vc++?
What is microsoft visual c++ 2015 redistributable package x64?
What is vcredist?
Explain the advantages of cwinthread class.
What is visual c++ runtime error?
Do I need microsoft visual c++?
What is the difference between turbo c++ and visual c++?
Is microsoft visual c++ a virus?
Is it ok to uninstall microsoft visual c++?
What is a copy constructor? What is the need for it?
Is visual c++ the same as c++?
What is difference between c++ and visual c++?