Hey brothers!Explain between C and Cpp?What is important? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Hey brothers!Explain between C and Cpp?What is important?

What is very useful?

24th Jul 2019, 10:29 AM
Kyaw Win Htut
Kyaw Win Htut - avatar
5 Answers
+ 7
The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language. C++ allows exception handling, and function overloading which are not possible in C.
24th Jul 2019, 11:02 AM
Pavan Sharma
Pavan Sharma - avatar
+ 7
With C++ you can achieve more.
24th Jul 2019, 11:38 AM
Sonic
Sonic - avatar
+ 7
C++ is object oriented language and it contains classes and templates. C has only structures.
24th Jul 2019, 3:53 PM
Baltazarus
Baltazarus - avatar
+ 5
C++ is an improved version of C, C++ libraries contain better, safer and more intuitive functions than C libraries have, but C code is mostly valid in C++; I'd recommend you to learn both, but C++ more in depth
24th Jul 2019, 10:44 AM
alvaro.pkg.tar.zst
alvaro.pkg.tar.zst - avatar
+ 5
Thank you,all brothers
24th Jul 2019, 12:35 PM
Kyaw Win Htut
Kyaw Win Htut - avatar