What is the difference between reference type and pointers.

Answer Posted / p.madhupriya

pointer is a variable that points to address of another
variable .
reference is variable that points to address of that
variable only.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is std :: endl?

596


What is the size of a vector?

582


What are the effects after calling the delete this operator ?

563


Why do we use using namespace std in c++?

605


What are the differences between malloc() and calloc()?

615






Why should you learn c++?

587


What is the use of volatile variable?

602


Explain the difference between c++ and java.

650


What is the default access level?

629


How is c++ used in the real world?

575


What is enum c++?

618


Explain the register storage classes in c++.

674


What are features of c++?

639


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

613


What is runtime errors c++?

576