Skip to content

Latest commit

 

History

History

0x0B-malloc_free

MALLOC MEMMORY ALLOCATION & FREE MEMORY DEALLOCATION

Description

An introduction to malloc memory allocation and free memory deallocation in Dynamic memory allocation.

Table of contents

Directories Description
0-create_array.c Write a function that creates an array of chars, and initializes it with a specific char.
1-strdup.c Write a function that returns a pointer to a newly allocated space in memory, which contains a copy of the string given as a parameter.
2-str_concat.c Write a function that concatenates two strings.
3-alloc_grid.c Write a function that returns a pointer to a 2 dimensional array of integers.
4-free_grid.c Write a function that frees a 2 dimensional grid previously created by your alloc_grid function.
100-argstostr.c Write a function that concatenates all the arguments of your program.
101-strtow.c Write a function that splits a string into words.

Author

Joseph Kakai

Email: [email protected]