Answers for "how to use free to deallocate memory in c"

C
1

deallocate memory in c

free()
Posted by: Guest on October-21-2020
0

how to free memory in c

int *example = NULL; //create pointer
example = malloc(sizeof(int)); //allocate memory
free(example); //deallocate memory
Posted by: Guest on April-14-2020

Code answers related to "C"

Browse Popular Code Answers by Language