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 static member variables be private?
How many static variables are created if you put one static member into a template class definition?
What is the c++ programming language used for?
What are advantages of c++?
What is token c++?
What is an undefined behavior and sequence points
Differentiate between late binding and early binding.
Explain the difference between overloading and overriding?
What is #include cstdlib in c++?
Does c++ vector allocate memory?
Which of the following is evaluated first: a) && b) || c) !
What is ios :: in in c++?
What is constructor in C++?
How many different levels of pointers are there?
Are there any special rules about inlining?