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
Can notepad ++ run c++?
What is the hardest coding language to learn?
Difference between a homogeneous and a heterogeneous container
Should I learn c or c++ first?
Can non-public members of another instance of the class be retrieved by the method of the same class?
Is nan a c++?
What is the auto keyword good for in c++?
Do we have to use initialization list in spite of the assignment in constructors?
Is eclipse good for c++?
How do I run c++?
If you don’t declare a return value, what type of return value is assumed?
Why is "using namespace std;" considered bad practice?
Explain the difference between c++ and java.
How many ways can a variable be initialized into in C++?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.