What is Object Oriented programming.what is the difference
between C++ and C?

Answer Posted / jai

C++ is oops becoz data structure is not scattared through
out the program.Data and member fucntion which operates on
data member are bind by a object.The functon which will
modify the particular data members of class are fixed.No
fucntion form outside will change it.In c, datastructure
are scattred through out the program and any fuction can
chnage their value and we have to trac that.In c++,data
member is bound to object and the member fucntion which
will change the data also bind by same object.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of a vector?

807


What is an arraylist c++?

904


What is the main purpose of overloading operators?

808


Can you explicitly call a destructor on a local variable?

803


How a macro differs from a template?

877


Explain dangling pointer.

872


What is a flag in c++?

812


What does iomanip mean in c++?

876


How many different levels of pointers are there?

896


Who created c++?

787


How const int *ourpointer differs from int const *ourpointer?

817


What is the difference between public, private, and protected access?

808


What do you mean by persistent and non persistent objects?

1059


How do you define a class in c++?

830


What is scope in c++ with example?

836