+ 2

What is the difference between c and cpp

24th Jan 2018, 2:40 PM
Aishwarya
Aishwarya - avatar
2 Answers
+ 2
One is object oriented programming. C++ is object oriented and C is not. The other big one is strings. C has no string data type, you have to declare an array of characters, which has a limited size, or work with pointers for no limit. There are other differences, those are just the biggest.
24th Jan 2018, 2:44 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
and i think c has struchar oriented language and cpp has a class and constrctor... he is right
24th Jan 2018, 3:11 PM
Aishwarya
Aishwarya - avatar