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
What are signs of manipulation?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
What are inline functions? What is the syntax for defining an inline function?
What is the copy-and-swap idiom?
How did c++ get its name?
What is struct c++?
How can you specify a class in C++?
Explain the auto storage classes in c++.
Explain terminate() function?
What is a vector c++?
What is the type of 'this' pointer? When does it get created?
What is data structure in c++?
How many types of classes are there in c++?
What is implicit conversion/coercion in c++?
How does c++ structure differ from c++ class?