Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 keywords in c++?

0 Answers  


Explain 'this' pointer and what would happen if a pointer is deleted twice?

0 Answers   Genpact,


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

0 Answers  


What is the difference between the parameter to a template and the parameter to a function?

0 Answers  


List the merits and demerits of declaring a nested class in C++?

0 Answers  






If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

0 Answers  


What is a static member?

0 Answers  


How the delete operator differs from the delete[]operator?

0 Answers  


What is the best it certification?

0 Answers  


What c++ library is string in?

0 Answers  


Why c++ is so important?

0 Answers  


What are move semantics?

0 Answers  






Categories