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

What is microsoft visual c++ runtime library error?

639


Do I need microsoft visual c++?

638


Is it safe to uninstall microsoft visual c++ 2008 redistributable?

651


Does visual c++ 2017 replace 2015?

661


How do I remove microsoft visual c++ 2015 redistributable?

658






What is cwinthread class? Explain its advantages.

649


What is iunknown?

638


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

1858


Can I remove microsoft visual c++?

677


Is visual c++ still used?

633


What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

684


Do I need ms visual c++ on my computer?

697


Where can I find microsoft visual c++ on my computer?

683


What is vc++ redistributable?

824


How can we use cmutex?

645