Which advantages does C have? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which advantages does C have?

Do you know some reasons for using C instead of C++? Is there anything you can implement in C and not in C++ or something only can be programmed using C? 😕

12th May 2018, 7:16 PM
Arc
Arc - avatar
3 Answers
+ 2
C is used basically to create the operating system because of its comfort and easy to understand by other languages too os is created but to manage that language is quite complex and C is less complicated comparatively embedded system is also mostly created on C advantage of using C over others language is that it's less complicated and we can make use of it very easily
12th May 2018, 7:40 PM
MsJ
MsJ - avatar
+ 1
So for microcontrollers like the AVR or PIC C would be a good choice?
13th May 2018, 6:50 AM
Arc
Arc - avatar
+ 1
Martin Taylor As you probably know, the question was about advantages over C++. But I want to be very sure about this: Are C++ binaries generally less memory efficient? And can't they be used for 2 kB code space and 128 bytes of RAM?
19th May 2018, 3:53 AM
Timon Paßlick