What are the difference between reference variables and pointers in C++?
Answer Posted / hrpynux@gmail.com
Pointers: A pointer is a variable that holds memory address of another variable. ... References : A reference variable is an alias, that is, another name for an already existing variable. A reference, like a pointer, is also implemented by storing the address of an object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is c++ & why it is used?
How can we check whether the contents of two structure variables are same or not?
Can you write a function similar to printf()?
Which bitwise operator is used to check whether a particular bit is on or off?
Is c++ harder than java?
What is auto type c++?
Is there a c++ certification?
What is the difference between mutex and binary semaphore?
What is jump statement in C++?
What is the error in the code below and how should it be corrected?
What are the effects after calling the delete this operator ?
What are the uses of typedef in a program?
What is function overloading in C++?
What is the protected keyword used for?
What is a multiset c++?