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

Answer Posted / vinay bondade

A Pointer is not a condt pointer unless you define it in
that way,but a referrence on the contrary is a const
pointer by default and adding to this implementation it is
deferrenced automatically.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a function doesn’t return a value, how do you declare the function?

812


Explain what are accessor methods?

856


What is boyce codd normal form in c++?

903


Can user-defined object be declared as static data member of another class?

772


What is ctime c++?

846


What are all predefined data types in c++?

774


Does c++ have a hash table?

730


Who calls main function?

801


What is flag in computer?

802


Is c++ still being used?

776


What is static class data?

769


Write about an iterator class?

816


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2455


Explain container class.

945


What is a block in c++?

781