What is programming?
A computer is very fast, but it can't think for itself. It only does what it is told. Programming means writing those instructions down in a language the computer understands.
Think of it like this: A program is like a recipe. The recipe lists steps in order ("boil water", "add pasta", "wait 10 minutes"). The cook follows them one by one. In programming, you write the recipe and the computer is the cook.
What is C?
C is a programming language. It was created by Dennis Ritchie in 1972 – more than 50 years ago – and it is still one of the most used languages in the world.
Why is such an old language still so popular? Because C is:
- Fast. C programs run very quickly, almost as fast as the computer can go.
- Small. C has only a few rules and keywords, so there is not much to learn.
- Close to the machine. C lets you work directly with the computer's memory. That is why it is used to build things other programs depend on.
- Everywhere. Almost every computer, phone, car and smart device has C code inside it.
What is built with C?
| Thing | Example |
|---|---|
| Operating systems | Linux, most of Windows and macOS |
| Other languages | Python itself is written in C! |
| Databases | MySQL, SQLite, PostgreSQL |
| Small devices | Washing machines, cars, routers, smart watches |
| Games and graphics | Game engines and graphics drivers |
Why learn C?
Learning C teaches you how computers really work: memory, numbers and text, step by step. Once you know C, languages like C++, Java, C# and even Python feel much easier, because many of them borrowed their rules from C.
Remember: C is a small, fast language from 1972 that is still used everywhere. It is a great first step to understanding how computers work.
Tip: Don't worry if some words in this lesson are new. We will explain everything slowly, one small step at a time.