@mattia
 i agree with u, its not a algo specific query as the group name suggests, though here is what "Mr. Man Page" said

calloc()  allocates memory for an array of nmemb elements of size bytes
       each and returns a pointer to the allocated memory.  The memory is  set
       to zero.

 malloc()  allocates  size  bytes and returns a pointer to the allocated
       memory.  The memory is not cleared.

On 3/8/06, Mattia Merzi <[EMAIL PROTECTED]> wrote:

On 3/8/06, anil kumar N R <[EMAIL PROTECTED]> wrote:
> hi friends,
>                  can any one tell me what's the difference between malloc
> and calloc?




--
Ajay kr. Mishra
http://ajay.mishra19.googlepages.com
IIT KGP
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to