C Programming - Memory Allocation - Discussion

Discussion Forum : Memory Allocation - General Questions (Q.No. 2)
2.
What function should be used to free the memory allocated by calloc() ?
dealloc();
malloc(variable_name, 0)
free();
memalloc(variable_name, 0)
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
22 comments Page 3 of 3.

Vamshikrishna adepu said:   1 decade ago
We doesn't functions like dealloc() in "C" and the remaining options are to allocate memory so may the answer is free().

Wahid sayed said:   1 decade ago
Why is it free() ?

Can anyone explain me.


Post your comments here:

Your comments will be displayed after verification.