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
How would you differentiate between a pre and post increment operators while overloading?
Can non-public members of another instance of the class be retrieved by the method of the same class?
How do I use arrays in c++?
program explaining feautures of c++
What is a .lib file in c++?
What do you mean by early binding?
What are the c++ access specifiers?
Mention the ways in which parameterized can be invoked.
Write a Program for find and replace a character in a string.
What is the operator in c++?
Explain Text Manipulation Routines?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
What is istream and ostream in c++?
Differentiate between a pointer and a reference with respect to c++.
What flag means?