+ 2

Is C++ a superset of C?

27th Feb 2021, 12:35 PM
ct00
ct00 - avatar
3 ответов
+ 3
Not really. Some C features doesn't work / haven't the same meaning in C++, so I would not consider it as a "superset".
27th Feb 2021, 2:32 PM
Théophile
Théophile - avatar
+ 3
Théophile is right: C++ is the OOP successor of C, so it has lot of C feature, but with slight differences... that's not really a superset, but more of kind of new version broking ascendent support ^^ C is usefull for embeded systems, core functionnalities, and C++ is more designed to be usefull for softwares wich don't have device limitations (such as memory and so on)...
27th Feb 2021, 3:16 PM
visph
visph - avatar
+ 2
Yes!
27th Feb 2021, 1:32 PM
Hima
Hima - avatar