what is difference between c and c plus plus..?

Difference between c and c plus plus

C is procedure programming language where the code is organised in the form of modules or blocks of codes that are executed to get the resultant output. The blocks of code can be in a form of functions, structure etc.

Whereas, C++ is an object-oriented programming language where the coding is done by using the predefined library class. Objects, in turn, are instances of class.
 
The main difference is the object-oriented programming paradigm. C has structs to group related data together, but C++ also has classes that group data and code together.
 
Back
Top