+ 1

C and C++

C is a procedure oriented programming language and C++ is an object oriented programming language. similarly what are the major differences between C and C++

15th Jan 2017, 3:30 PM
Vishnu Sivan
Vishnu Sivan - avatar
2 Answers
+ 7
C is fairly outdated and C++ isn't :D Headers like stdlib.h, time.h, stdio.h in C are replaced with cstdlib, ctime, cstdio, etc. Whatever is usable in C is still compatible in C++, but not the other way around. As mentioned, C has no class. (pun intended)
16th Jan 2017, 9:15 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
C++ is the more powerful version of C. But w/o experience, C++ can be a pain compared to C.
16th Jan 2017, 9:26 AM
Wen Qin
Wen Qin - avatar