← C Programming learning pathC Programming · Module 1 of 10
Your first C program
C is a fast, compiled language that teaches how computers really work.
📖 Key ideas
- Every C program starts running from main().
- #include <stdio.h> brings in input/output functions like printf.
- printf("Hello\n"); prints text; \n is a new line.
- Statements end with a semicolon.
- A compiler (gcc) turns source code into a program: gcc hello.c -o hello.
💡 Real-life example: C is like learning to drive a manual car: more work, but you understand the engine.
main()Where the program starts
#includeAdds a header file
printfPrints formatted output
gccA C compiler