Skip to main content

What Is C and Why It Still Matters

beginner9 min readLesson 1 of 148

Where C lives โ€” operating systems, embedded devices, language runtimes โ€” and what it means that C is compiled.

Where C lives

C is a small, fast, close-to-the-machine language. It powers operating-system kernels (Linux, Windows kernels), embedded firmware, database engines, and the runtimes of languages like Python and Java. Learning C teaches you how the machine actually behaves โ€” memory, addresses, and exact types.

Compiled, not interpreted

You write source code (a .c text file). A compiler translates it into machine instructions, and a linker stitches the translated pieces plus the standard library into one executable the CPU can run directly. Nothing hides this pipeline from you in C โ€” you will run it yourself in this course.

The smallest complete program

#include <stdio.h>

int main(void) {
    printf("Hello, C!\n");
    return 0;
}
  • #include <stdio.h> โ€” bring in the declarations for input/output (printf).
  • int main(void) โ€” every program starts here. void means it takes no parameters; the int result is a status code (0 = success).
  • printf("...\n") โ€” write text to standard output. \n is a newline.
  • return 0; โ€” report success to whoever ran the program.

Comments

/* a block comment */
// a line comment (C99 and later)

Comments are for humans; the compiler deletes them.

Now practice

Hello PracticeWrite and shape your first C output: exact lines, exact newlines.2 challenges ยท ยท ~12 min