+ 2
🤔 The C language is still used today.
🧑💻 Why would anyone use the C language?
7 Risposte
+ 3
People use C because it’s fast portable and close to hardware. It’s still the backbone of operating systems, embedded systems and even compilers for modern languages.
+ 2
https://openclassrooms.com/fr/courses/19980-apprenez-a-programmer-en-c
and install a ide codblocks or devc++ for application
+ 2
As someone who has worked in the embedded industry and now works as a trainer- C is one of the few languages out there that give you great access to memory.
I would credit the popularity of C to pointers, more specifically- typecasting to pointers.
Working with microcontrollers/ embedded linux based systems, we often will need to work with registers located at specific addresses.
Your compiler cannot differentiate between address and code (when input from user). Hence the need to typecast a value to a pointer.
If i want to access a register at location 0xC4, i would do
(int *)0xc4
This tells the compiler that 0xc4 is the address of a memory location that holds the address of another integer.
(*(int *)0xc4)
This just dereferences it.
+ 1
Yes also the first subject when you choose any tech bg
0
Yo no sé programar
0
C is still widely used today because it offers unmatched performance, control, and portability. It’s the backbone of operating systems like UNIX and Linux, embedded systems, and high-performance applications. Developers choose C when they need direct access to memory, minimal overhead, and compatibility across platforms.