Understanding Malloc() Internals: What I've Learnt So Far (opens in new tab)
<h3> Intro </h3> <p>In my first year, I learnt C language, and have used malloc() multiple times in a program. I was curious about what work it actually did under the hood and how did it actually allocate memory. So I did some research, and watched a couple of videos on youtube.. this was one of the videos that was very useful.<br><br> <a href="https://youtu.be/HPDBOhiKaD8?si=T4HeEA3ACE3macqO" rel="noopener noreferrer"> The Heap: what does malloc() do? - bin 0x14 by LiveOverflow</a>...
Read the original article