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

Describe delete operator?

1 Answers  


What is ctime c++?

1 Answers  


Explain the differences between list x; & list x();.

1 Answers  


What is a constant? Explain with an example.

1 Answers  


Should I learn c or c++ or c#?

1 Answers  


How can a called function determine the number of arguments that have been passed to it?

1 Answers  


What is insertion sorting?

1 Answers  


Why the usage of pointers in C++ is not recommended ?

1 Answers   TCS,


what is static function

2 Answers   Patni,


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

1 Answers  


What compiler was used?

6 Answers   Intel,


What is polymorphism in c++? Explain with an example?

1 Answers  


Categories