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
Can comments be longer than one line?
What is a c++ class?
Explain rethrowing exceptions with an example?
How is computer programming useful in real life?
How can you link a c++ program to c functions?
Is oops and c++ same?
What programming language should I learn first?
How const int *ourpointer differs from int const *ourpointer?
What is class definition in c++ ?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
Does std endl flush?
Can we make copy constructor private in c++?
What is token c++?
What is the best c++ book?
how to explain our contribution in the project?