Do not use this tag to refer to free software.
I create a dynamic array in C with malloc, ie.: myCharArray = (char *) malloc(16); Now if I make a function like …
c pointers free dynamic-arraysThere seem to be two arguments why one should set a pointer to NULL after freeing them. Avoid crashing when …
c pointers freeI would like to free memory from my allocated binary tree what traversal is the best for doing so? typedef …
c free binary-treeIf I would write: char *a=malloc(sizeof(char)*4); a="abc"; char *b="abc"; do I need to free this …
c freeI get a segmentation fault after freeing a certain pointer: free(studentDB->name); I can get its value without …
c free segmentation-faultSay I have an array of pointers to structs that contain a string each and so for something like this: …
c free