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
Which c++ operator cannot overload?
How do you declare a set in c++?
Is there structure in c++?
Why do we use classes in programming?
What is the basic of c++?
Describe protected access specifiers?
What is extern c++?
Where is atoi defined?
Why is c++ a mid-level programming language?
What is a pointer how and when is it used?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
Do we have to use initialization list in spite of the assignment in constructors?
What is dev c++ used for?
If there are two catch statements, one for base and one for derived, which should come first?
Please explain class & object in c++?