when to use free in c code example
Example: free in c
the C library function void free(void *ptr)
deallocates the memory previously allocated by a call to calloc, malloc, or realloc.
the C library function void free(void *ptr)
deallocates the memory previously allocated by a call to calloc, malloc, or realloc.