This project implements a simple memory allocator using malloc
and free
functions. It demonstrates basic dynamic memory management using a fixed-size heap.
mallocfree.c
: Header file containing function prototypes and necessary includes.main.c
: Source file with the implementation ofmalloc
,free
, and a test program.
To compile the project, use the following command:
sh build.sh