Dear all,
I allocated memory to one array, which stores data from one file, and I made a
condition that if one data being read using fscanf() is larger than the
threshold value the program close.
I just read that it is our responsibility to release the memory if it is not
required. Oke, I understand that and I can put free() at the end of the code.
But, I made a condition so I put exit() before the free(). I wonder if exit()
frees the memory or I have to put free() also inside the condition.
Many thanks for your help.
Titi
[Non-text portions of this message have been removed]