What is the difference between pointer and reference?

Answer Posted / satyendra singh

i am also satisfied whose already given answer but major
differnce b/w reference and pointer
1--refrence and pointer both are refer memori address
2--with help of pointer arithmatic calculation done but
pointer not done;
3--refrence tracked by garwage collection but pointer not done;
4--referece must alway refer object which must initialized

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

1758


What is cmutex? How can we use it?

573


What is visual c++ redistributable?

586


How do I uninstall vc++ 2015?

514


What is a copy constructor? What is the need for it?

579






What is microsoft visual c++ 2005 redistributable?

585


What is cwinthread class? Explain its advantages.

573


What is microsoft visual c++ 2015 redistributable?

596


Is microsoft visual c++ a virus?

662


What is microsoft visual c++ used for?

561


Is microsoft visual c++ important?

637


Does visual c++ 2017 replace 2015?

587


In which Way invoke context-sensitive help inside the editor?

1786


What is cmutex?

585


What is mfc in vc++?

721