What is the difference between Pointer and a Reference?
When you would use them?

Answer Posted / nav

pointer are variable and no need to be initilise,but
refrence is the rename of variable and must be
initilise.pointer also assign null value but reference not
assign null value.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ used anymore?

574


When does a name clash occur in c++?

705


Explain stack unwinding.

626


What information can an exception contain?

660


What is a block in c++?

542






how to access grid view row?

1808


Write about all the implicit member functions of a class?

588


Explain about Garbage Collector?

642


Can class objects be passed as function arguments?

592


Explain static and dynamic memory allocation with an example each.

632


Write about the local class and mention its use?

599


What are the advantage of using register variables?

629


how to connect with oracle 9i with server in socket program in c/c++

1841


Describe about storage allocation and scope of global, extern, static, local and register variables?

721


Define the process of handling in case of destructor failure?

564