How do classes and objects differ in c and c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How do classes and objects differ in c and c++

14th Aug 2017, 7:16 PM
Pramodh Kumar M
Pramodh Kumar M - avatar
2 Answers
+ 2
C is a function oriented programming language so it doesn't support classes & objects. While C++ is an object oriented prog. language.
20th Aug 2020, 1:26 PM
Onkar Kokate
0
@bJay I agree that you couldn't create class in C, but objects were here ^^ https://stackoverflow.com/questions/351733/can-you-write-object-oriented-code-in-c
14th Aug 2017, 9:05 PM
Jakub Stasiak
Jakub Stasiak - avatar