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


Please Help Members By Posting Answers For Below Questions

How would you differentiate between a pre and post increment operators while overloading?

856


Can non-public members of another instance of the class be retrieved by the method of the same class?

816


How do I use arrays in c++?

761


program explaining feautures of c++

2167


What is a .lib file in c++?

753


What do you mean by early binding?

783


What are the c++ access specifiers?

1053


Mention the ways in which parameterized can be invoked.

723


Write a Program for find and replace a character in a string.

788


What is the operator in c++?

856


Explain Text Manipulation Routines?

833


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

793


What is istream and ostream in c++?

801


Differentiate between a pointer and a reference with respect to c++.

934


What flag means?

703