What are some major things that we can do in C ++ but not in C ?
I just wanted to know that why everybody takes C llightly and C ++ as Good language .. Is there any major difference , Since yet i had just studied the basics of C and C++ both and i cant find any difference.
Please Dont laugh and upvote this ,since its my first question on sololearn
First off, don't be so hard on yourself, that was honestly a great question!
On to the actual answer, C and C++ are very similar languages, some would even say they're like sister languages. One of the major differences between the two is that C++ supports object oriented programming, meaning it allows for the use of classes, polymorphism, inheritance, etc. C, on the other hand, does not have any support for it (at least with the standard library), meaning it can be a little limiting in some areas, making C++ the go to for most projects that could be made easier with OOP.
Hope this helped!