How does the free() function work?

[Sharing my answer to the above question on quora] Assuming the reader is interested in knowing the internal details of free(), I would like to explain in one of the ways I implemented it. Overall, a free() function releases a chunk of dynamically allocated memory from the heap region of the process address space. It... Continue Reading →

Blog at

Up ↑

%d bloggers like this: