Version without JavaScript, read-only: workshops, quizzes and running code are not available here. Full version · Catalogue · Sign in

Exercise sheet 3

The memory of a program

Place each piece of data in its area, outwit macros, find leaks and overflows, then write code with malloc - concatenation, matrices, and a recycling pool. Chapter 3.

We assume a 64-bit PC running Linux. Programs are compiled with gcc -std=c11 -Wall -Wextra -Werror, and valgrind is available.