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
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What is the array and initializing arrays in c++?
When are exception objects created?
How can I learn dev c++ programming?
Write a program which uses Command Line Arguments
Why can templates only be implemented in the header file?
What is an object in c++?
explain the reference variable in c++?
What are vectors used for in c++?
What is object oriented programming (oop)?
Define macro.
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Explain the isa and hasa class relationships. How would you implement each?
Write is a binary search tree? Write an algo and tell complexity?
What is the difference between #define debug 0 and #undef debug?