what is difference between c and c++?

+1 vote
asked May 29 by Isharrudin (130 points)

1 Answer

0 votes
answered May 29 by osadly (200 points)

The main difference is that C++ is an object-oriented programming language while C is not.


Refer to the following link for more details 


The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language


I hope this helps


Osama Wanis

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.