diff between pointer and reference in c++?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ platform dependent?

629


What is tellg () in c++?

719


What are punctuators in c++?

648


What is the use of volatile variable?

599


What is a try block?

634






What is auto type c++?

628


What is the best ide for c++?

569


Explain the virtual inheritance in c++.

594


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2066


Which is most difficult programming language?

578


Write some differences between an external iterator and an internal iterator?

581


Can manipulators fall in love?

559


Explain binary search.

576


What is the need of a destructor?

635


What is guard code in c++?

638