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
What is the size of a vector?
What is an arraylist c++?
What is the main purpose of overloading operators?
Can you explicitly call a destructor on a local variable?
How a macro differs from a template?
Explain dangling pointer.
What is a flag in c++?
What does iomanip mean in c++?
How many different levels of pointers are there?
Who created c++?
How const int *ourpointer differs from int const *ourpointer?
What is the difference between public, private, and protected access?
What do you mean by persistent and non persistent objects?
How do you define a class in c++?
What is scope in c++ with example?