+ 1
What is the use of free(..) in C .because it generates a code error and removing it everything goes normal?
Use of free()
1 Antwort
+ 3
Using free() Function in C
The function free() is used to de-allocate the memory allocated by the functions malloc ( ), calloc ( ), etc, and return it to heap so that it can be used for other purposes. The argument of the function free ( ) is the pointer to the memory which is to be freed.