OOPs is a programming technique used to combine data and the functions that interact with it into a single entity so that no other parts of the code may touch it.
benefits of object-oriented programming?
- Used to creation of reusable code.
- It is used to resolving an issue by generating objects.
Difference between C and C++
|C has not built-in support for OOP concepts but in C we can make program in OOPS style without built-in OOP support.
|C++ has built-in support for OOP concepts.
Four fundamental OOP concepts(also called pillar of object oriented programming)
1 . ABSTRACTION