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 are arrays c++?

612


What are c++ files?

580


Is facebook written in c++?

564


Which one is better- macro or function?

657


What is static function? Explain with an example

560






Can you please explain the difference between static and dynamic binding of functions?

572


What are the types of container classes?

620


Which ide is best for c++?

541


Name the debugging methods that are used to solve problems?

581


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

586


Can you write a function similar to printf()?

669


How do you clear a set in c++?

605


What is a constant reference?

622


Why is c++ difficult?

613


Can I make ios apps with c++?

561