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
Can I remove microsoft visual c++?
What is microsoft visual c++ 2015 redistributable package x64?
Difference between getmessage, postmessage & peakmessage.
What is vc++ programming?
Is visual c++ the same as c++?
Explain the advantages of cwinthread class.
Where can I find microsoft visual c++ on my computer?
difference between assert and verify.
What is odbc in vc ++?
How do I uninstall visual c++?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is vcredist_x86 exe?
What is microsoft visual c++ used for?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
Is it ok to uninstall microsoft visual c++?