You are welcome to contribute to this repo. See the CONTRIBUTING.md for more info
A collection of super beginner friendly tutorials and challenges to teach the C programming language. Each file contains:
- A tutorial explaining a concept
- A challenge or set of challenges to complete
Tutorial | Link |
---|---|
Getting started | |
Your first C program | hello-world.c |
Using comments in C code | commenting.c |
Compiling Programms | compiling-programs.c |
Variables | |
Chars | chars.c |
Integers | integers.c |
Size of variables | size-of-variables.c |
Floats | floats.c |
Conditions | |
Case statements | case-statements.c |
If...else statements | if-else.c |
Loops | |
Do...while loops | do-while-loops.c |
For...loops | for-loops.c |
While loops | while-loops.c |
Operators | |
Arithmetic | arithmetic.c |
Arrays | |
User input in arrays | userinput-in-arrays.c |
Structures | |
Declaring structures | declaring-structures.c |
Typedefs | typedefs.c |
Common built-in functions | |
Scanf | scanf.c |
Pointers | |
Declaring Pointers | declaring-pointers.c |
Preprocessors | |
ifdef | ifdef.c |