C is a general-purpose programming language that has been widely used for over 50 years.
C is very powerful; it has been used to develop operating systems, databases, applications, etc.
Examples in Each Chapter
Our "Try it Yourself" editor makes it easy to learn C. You can edit code and view the result in your browser:
Example
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}
What You'll Learn
This tutorial will guide you step by step, with examples and exercises along the way:
- How C programs are structured
- Variables, data types, and operators
- If statements, loops, and arrays
- Functions and how to reuse code
- Pointers and memory
- Structures to organize related data
- Reading from and writing to files
- Organizing programs and build real-life projects