What is the difference between Pointer and a Reference?
When you would use them?
Answer Posted / vinay bondade
A Pointer is not a condt pointer unless you define it in
that way,but a referrence on the contrary is a const
pointer by default and adding to this implementation it is
deferrenced automatically.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Differentiate between the manipulator and setf( ) function?
What are put and get pointers?
How is objective c different from c++?
What is the first name of c++?
Write a function that swaps the values of two integers, using int* as the argument type?
What is ofstream c++?
What is fflush c++?
Why c++ is the best language?
How do you declare A pointer to a function which receives nothing and returns nothing
What will happen if a pointer is deleted twice?
What is private inheritance?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
what is VOID?
What do you mean by early binding?
What are c++ tokens?