
* Created in 1972
* Dennis Richie
* Releases
* K&R C 1978
* ANSI C 89
* ISO C 90,95,99,11,17,23
*
---
C is a medium-level procedural language.
Note:
* There is an almost direct mapping between C and assembly.
* The only programming paradigm C supports is procedural (writing functions).
---
## Why bother with C?
---
Mostly legacy code.
Note:
* C is still everywhere!
* Hardware vendors often still only supply a C library.
---

* Linus Torvalds
* First release: 1991
* Written in C89
* 2022: Upgrade to C11
* 37.05m lines of code
And the Linux kernel.
---
## C vs C++
---
C++
```c++
char a_char {'a'};
int an_int {-1};
double a_double {3.14};
bool a_bool {false};
```
C
```c
char a_char = 'a';
int an_int = -1;
double a_double = 3.14;
```
```c
#include