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.

Rahul said:   1 decade ago
There are only 3 memory allocation functions in C calloc(),malloc() and free(). free is to free that allocated space

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().


Post your comments here:

Your comments will be displayed after verification.