DEVELOPER LAB / COURSE 01

Learn C. Understand the machine.

Build a strong programming foundation through structured lessons covering syntax, logic, memory, functions, pointers, data structures and practical programming.

View lessons
c-course
// your first C program

#include <stdio.h>

int main()
{
    printf(
        "Hello, Developer Lab!\n"
    );

    return 0;
}
program exited with code 0
C 01

Before you build complicated software, learn what is happening underneath it.

C gives you a much closer look at how programs actually operate. You will work with variables, memory, functions, pointers, arrays, structures and files instead of hiding everything behind layers of abstraction.

The goal is not to memorize syntax. The goal is to understand programming well enough to build with it.

THE ROADMAP

Learn it properly.

57 structured lessons from the fundamentals through the concepts needed to write useful C programs.

01
LESSON 01 25 MIN

Introduction to C

What C is, where it came from, and what you will build in this course.

Start the course to track this lesson
02
LESSON 02 25 MIN

A Short History of C

Learn how C developed and why it became so influential.

Start the course to track this lesson
03
LESSON 03 25 MIN

Where C Is Used

See the kinds of software that can be built with C.

Start the course to track this lesson
04
LESSON 04 25 MIN

Setting Up a C Environment

Understand the compiler, source file, and executable.

Start the course to track this lesson
05
LESSON 05 25 MIN

Source Code, Compilation, and Execution

Follow the path from C code to a running program.

Start the course to track this lesson
06
LESSON 06 25 MIN

Your First C Program

Write and run the classic first program.

Start the course to track this lesson
07
LESSON 07 25 MIN

Understanding main()

Learn what the main function does.

Start the course to track this lesson
08
LESSON 08 25 MIN

Header Files

Understand why C programs include headers.

Start the course to track this lesson
09
LESSON 09 25 MIN

Comments and Code Readability

Learn to document code without changing its behavior.

Start the course to track this lesson
10
LESSON 10 25 MIN

Printing with printf()

Learn the basics of formatted output.

Start the course to track this lesson
11
LESSON 11 25 MIN

Escape Sequences

Control how text is printed.

Start the course to track this lesson
12
LESSON 12 25 MIN

Variables

Learn how programs store values.

Start the course to track this lesson
13
LESSON 13 25 MIN

Constants

Learn how to represent values that should not change.

Start the course to track this lesson
14
LESSON 14 25 MIN

Basic Data Types

Understand int, float, double, and char.

Start the course to track this lesson
15
LESSON 15 25 MIN

Format Specifiers

Match printf placeholders to data types.

Start the course to track this lesson
16
LESSON 16 25 MIN

Reading Input with scanf()

Let users enter data into a program.

Start the course to track this lesson
17
LESSON 17 25 MIN

Arithmetic Operators

Perform basic calculations.

Start the course to track this lesson
18
LESSON 18 25 MIN

Assignment and Compound Assignment

Update variables efficiently.

Start the course to track this lesson
19
LESSON 19 25 MIN

Comparison Operators

Compare values to produce true or false results.

Start the course to track this lesson
20
LESSON 20 25 MIN

Logical Operators

Combine multiple conditions.

Start the course to track this lesson
21
LESSON 21 25 MIN

The if Statement

Make a program take a decision.

Start the course to track this lesson
22
LESSON 22 25 MIN

if and else

Handle two possible paths.

Start the course to track this lesson
23
LESSON 23 25 MIN

else if Chains

Choose among multiple conditions.

Start the course to track this lesson
24
LESSON 24 25 MIN

The switch Statement

Select a branch using discrete values.

Start the course to track this lesson
25
LESSON 25 25 MIN

The while Loop

Repeat code while a condition remains true.

Start the course to track this lesson
26
LESSON 26 25 MIN

The do-while Loop

Run a block at least once before testing the condition.

Start the course to track this lesson
27
LESSON 27 25 MIN

The for Loop

Use a compact loop for counted repetition.

Start the course to track this lesson
28
LESSON 28 25 MIN

break

Stop a loop early.

Start the course to track this lesson
29
LESSON 29 25 MIN

continue

Skip the current loop iteration.

Start the course to track this lesson
30
LESSON 30 25 MIN

Nested Loops

Place loops inside other loops.

Start the course to track this lesson
31
LESSON 31 25 MIN

Arrays

Store multiple values under one name.

Start the course to track this lesson
32
LESSON 32 25 MIN

Looping Through Arrays

Process every element of an array.

Start the course to track this lesson
33
LESSON 33 25 MIN

Strings in C

Understand strings as arrays of characters.

Start the course to track this lesson
34
LESSON 34 25 MIN

Working with String Functions

Use common functions from string.h.

Start the course to track this lesson
35
LESSON 35 25 MIN

Functions

Break a program into reusable operations.

Start the course to track this lesson
36
LESSON 36 25 MIN

Function Parameters and Return Values

Pass information into and out of functions.

Start the course to track this lesson
37
LESSON 37 25 MIN

Function Prototypes

Tell the compiler about a function before it is called.

Start the course to track this lesson
38
LESSON 38 25 MIN

Variable Scope

Understand where variables can be accessed.

Start the course to track this lesson
39
LESSON 39 25 MIN

What Is a Pointer?

Understand the idea of storing a memory address.

Start the course to track this lesson
40
LESSON 40 25 MIN

Address and Dereference Operators

Use & and * with pointers.

Start the course to track this lesson
41
LESSON 41 25 MIN

Changing a Value Through a Pointer

Use pointers to modify the original variable.

Start the course to track this lesson
42
LESSON 42 25 MIN

Arrays and Pointers

See the relationship between arrays and memory addresses.

Start the course to track this lesson
43
LESSON 43 25 MIN

Pass by Address

Modify caller data from inside a function.

Start the course to track this lesson
44
LESSON 44 25 MIN

Dynamic Memory Basics

Understand memory requested at runtime.

Start the course to track this lesson
45
LESSON 45 25 MIN

malloc() and free()

Allocate and release heap memory safely.

Start the course to track this lesson
46
LESSON 46 25 MIN

Structures

Group related values into one custom data type.

Start the course to track this lesson
47
LESSON 47 25 MIN

Accessing Structure Members

Use dot notation with structures.

Start the course to track this lesson
48
LESSON 48 25 MIN

Enumerations

Represent named integer choices.

Start the course to track this lesson
49
LESSON 49 25 MIN

typedef

Create shorter, clearer type names.

Start the course to track this lesson
50
LESSON 50 25 MIN

Introduction to Files

Understand why programs use files.

Start the course to track this lesson
51
LESSON 51 25 MIN

Writing to a File

Save text to a file using fprintf.

Start the course to track this lesson
52
LESSON 52 25 MIN

Reading from a File

Read data stored in a file.

Start the course to track this lesson
53
LESSON 53 25 MIN

The C Preprocessor

Understand what happens before compilation proper.

Start the course to track this lesson
54
LESSON 54 25 MIN

Macros

Create simple preprocessor substitutions.

Start the course to track this lesson
55
LESSON 55 25 MIN

Debugging C Programs

Learn a practical approach to fixing errors.

Start the course to track this lesson
56
LESSON 56 25 MIN

Build a Small C Project

Bring multiple C concepts together.

Start the course to track this lesson
57
LESSON 57 25 MIN

Final Project: C Student Record System

Apply the course by building a complete program.

Start the course to track this lesson
PRACTICE

Now write something.

Reading code is not enough. Practice by solving small problems before moving to larger programs.

EXERCISE 01

Age calculator

Ask for a birth year and calculate an approximate age.

EXERCISE 02

Number checker

Determine whether a number is positive, negative or zero.

EXERCISE 03

Multiplication table

Print a number's multiplication table from 1 to 12.