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

What is the protected keyword used for?

614


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

741


Write a program to find the reverse Fibonacci series starting from N.

604


Is c++ a difficult language?

574


Please explain class & object in c++?

602






What is singleton class in c++?

592


What is the latest version on c++?

681


What is the difference between map and hashmap in c++?

553


What is do..while loops structure?

616


How can an improvement in the quality of software be done by try/catch/throw?

589


Explain bubble sorting.

625


Carry out conversion of one object of user-defined type to another?

607


Is c++ fully object oriented?

552


What problems might the following macro bring to the application?

618


what is data abstraction in C++?

648