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 ?
Difference between getmessage, postmessage & peakmessage.
difference between assert and verify.
Explain the significance of initapplication() in vc++.
Explain the important features of vc++?
Can I delete old microsoft visual c++?
What is visual c++ redistributable?
Explain some of commonly used methods provided by iunknown.
Can I remove microsoft visual c++?
What is difference between c++ and visual c++?
Explain pointer to the constant and constant pointer? Explain difference between them.
What is microsoft visual c++ 2005 redistributable?
What is microsoft visual c++ redistributable and do I need it?
How you build a project using Developer Studio?
What is microsoft visual c++ 2015 redistributable?