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
how to connect with oracle 9i with server in socket program in c/c++
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What are the sizes and ranges of the basic c++ data types?
What is a linked list in c++?
Explain terminate() function?
How is static data member similar to a global variable?
Why c++ is created?
Write a Program for find and replace a character in a string.
What is the difference between prefix and postfix versions of operator++()?
What is the meaning of string in c++?
Explain the concept of friend function in c++?
Differentiate between late binding and early binding. What are the advantages of early binding?
What is data hiding c++?
Why are pointers not used in c++?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required