+ 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
2 Antworten
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.