Do not use this tag to refer to free software.
I would like to check if a pointer is freed already or not. How do I do this using gnu …
c pointers freeHow can I free a const char*? I allocated new memory using malloc, and when I'm trying to free it …
c constants freeThe code works as it is supposed to, though it never frees the memory allocated by malloc(). I have tried …
c malloc freeSay you have the following ANSI C code that initializes a multi-dimensional array : int main() { int i, m = 5, n = 20; int **…
c memory-management memory-leaks free mallocI'm trying to implement malloc and free for C, and I am not sure how to reuse memory. I currently …
c memory-management malloc freeI would like my class to have a static pointer to a dynamically allocated region of memory. I understand how …
c++ memory static free destructorI am having problems with a fairly complex code. I wasn't able to produce a short snippet that reproduces the …
c++ memory free