diff between pointer and reference in c++?



diff between pointer and reference in c++?..

Answer / ravi.g

pointers have valid memory but reference does not have
memory

It means pointers points to some address(memory)
Reference does not points to any address(memory)

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are advantages of c++?

0 Answers  


What is a tuple c++?

0 Answers  


Explain what happens when a pointer is deleted twice?

0 Answers  


What is stl containers in c++?

0 Answers  


What is the difference between reference and pointer?

0 Answers  






What is a static member?

0 Answers  


Show the declaration for a static function pointer.

0 Answers  


Explain explicit container.

0 Answers  


Explain operator overloading.

0 Answers  


What is polymorphism and its type in c++?

0 Answers  


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

0 Answers  


Can I make ios apps with c++?

0 Answers  


Categories