+ 2

Why do we need oop,why c++ can't we stick up with c because there is concept of struct like class in c++??

c++ vs c

21st Dec 2017, 5:28 AM
Prarthit Mehra
2 Answers
0
the OOP approach guides the programmer in writing code that is easier to share and maintain, for example it makes it more explicit what part of the code can be used from other files (or libraries) and what is used locally. It is possible to write large programs with C rather than C++, but it is much harder to make it right, as there are more opportunities to misinterpret other's code.
21st Dec 2017, 11:20 AM
ifl
ifl - avatar