What is the primary difference between C and C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the primary difference between C and C++

I have been asked in an interview

5th Jul 2017, 12:46 PM
Vishnu Vardhan Mamidi
Vishnu Vardhan Mamidi - avatar
2 Answers
+ 8
C was the base language. C++ (and just about all languages) were based off of c. c++ was made because a better, more suitable language was needed. So c++ is kind of a more advanced extension of c.
5th Jul 2017, 12:48 PM
J.G.
J.G. - avatar
+ 5
(and if you were asked this in an interview, you ought to know the answer.)
5th Jul 2017, 12:49 PM
J.G.
J.G. - avatar