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

Name some pure object oriented languages?

1 Answers  


When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?

1 Answers   Microsoft,


Why c++ is created?

0 Answers  


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

0 Answers  


When should you use multiple inheritance?

2 Answers  






Is multimap sorted c++?

0 Answers  


Can c++ do everything c can?

0 Answers  


What are c++ storage classes?

0 Answers  


Write about the local class and mention its use?

0 Answers  


Explain the term memory alignment?

0 Answers  


What do you mean by late binding?

0 Answers  


What is ctime c++?

0 Answers  


Categories