We know what C & C++ are. There was one time when C was so efficient that not a single language was there to beat it. It uses structures hence is a structured programming language. Basically there are two types of programming languages:-
1. Structured programming language
2. Object oriented programming language (OOPs).
In C one limitation was found that it could not manage large programs because all the functions used are dependent to each other. Hence it makes it too difficult to understand the program or debug the program.
Object oriented programming languages.
In order to overcome this limitation of C, another programming language called C++ was introduced. At present it is the most powerful language. Most of the operating system uses C++. Windows comprises of 90% C++ and rest is written in java. C++ is an object oriented programming language. But when a program becomes wholly object oriented it becomes very slow. This is why java is much slower than C. One more language called smalltalk was developed. But it could not become much famous because of its slow speed. Basically C++ is not fully OOPs language but object based language because we can write programs in C without using class.
What is an object?
Object in the OOPs is a real world entity. It contains two things that are very much important in it. They are:-
1. Attributes
2. Functions
Attributes are the characteristics of object and functions are the program to access the attributes.
Why OOPs is more preferred than structured?
Human nature is to think about object more as compared to algorithms. As structured languages use algorithms and OOPs uses object , It makes it easy to work with objects.

