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

What is basic if statement syntax?

557


What do you mean by persistent and non persistent objects?

720


What is the latest version on c++?

673


What are features of c++?

622


What is a local reference?

661






What is the keyword auto for?

561


C is to C++ as 1 is to a) What the heck b) 2 c) 10

631


Define 'std'.

598


What is the array and initializing arrays in c++?

500


What is the use of endl in c++ give an example?

600


What is new in c++?

566


Can non-public members of another instance of the class be retrieved by the method of the same class?

598


Difference between delete and free.

602


What is an associative container in c++?

540


What is expression parser in c++

1880