C Advanced Lesson 1 of 15

C malloc, free and the heap

30 min, 4 exercisesCode

The program cannot know how much memory it needs until it is already running.

The rest of this lesson is locked.

4 exercises, checked as you type.

Sign in

C, 32-bit: int and pointers are 4 bytes