What is the difference between Pointer and a Reference?
When you would use them?
Answer Posted / nav
pointer are variable and no need to be initilise,but
refrence is the rename of variable and must be
initilise.pointer also assign null value but reference not
assign null value.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Why c++ is better than c language?
Describe public access specifiers?
What is the role of C++ shorthand's?
Why c++ is called oop?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What is atoi?
Are iterators pointers?
Are vectors faster than arrays?
Explain how to initialize a const data member.
What is the advantage of c++ over c?
What is the v-ptr?
What is a memory leak c++?
Which bitwise operator is used to check whether a particular bit is on or off?
Is c++ faster than c?
When we use Abstract Class and when we use Interface?where we will implement in real time?