Vamshikrishna Adepu said:
(Sat, Nov 6, 2010 12:29:58 AM)
We doesn't functions like dealloc() in "C" and the remaining options are to allocate memory so may the answer is free().
Rahul said:
(Fri, Nov 12, 2010 01:55:30 AM)
There are only 3 memory allocation functions in C calloc(),malloc() and free(). free is to free that allocated space
Anil Kumar said:
(Sat, May 7, 2011 08:12:16 AM)
free() is one of the predefined function its free memory ...
only one function is there in c language to free memory....
Hari Naidu said:
(Sun, Jun 19, 2011 12:16:54 PM)
free() function is used to remove the allocated memory.
Venkat said:
(Sat, Jul 30, 2011 08:18:23 PM)
Mainly free() function is used for allocating free memory for malloc() and calloc().
Amrendra said:
(Tue, Aug 16, 2011 08:05:35 PM)
The free(var-name) is only function in c to deallocate memory.
Pokar Sanjay said:
(Sat, Oct 8, 2011 04:50:44 PM)
How is different between malloc() and calloc() what is function of both? How it work?
Krishna said:
(Tue, Nov 29, 2011 08:20:33 PM)
Both allocate storage memory but the difference is malloc process single argument so just specify storage space while calloc process double argument so specify no. Of variable and space needed for that variable.
Sri said:
(Tue, Dec 6, 2011 01:38:52 PM)
What are the functions of malloc and calloc?
Lijina said:
(Sat, Jan 28, 2012 10:52:17 AM)
malloc() and calloc() are used to allocate space in memory but one difference is there allocating methods.
malloc() : malloc(int) only passing one arguments int allocates 2 bytes.
calloc() : calloc(int,5) passing two arguments int allocates 2 bytes, also 5 times 2 bytes will allocates.