0
realloc() frees previous memory block implicitly?
Or must use free() with an auxiliary ptr?
1 Answer
+ 3
Kiwwi here is a resource that explains how to use each
https://www.geeksforgeeks.org/dynamic-memory-allocation-in-c-using-malloc-calloc-free-and-realloc/