Not to do anything with the question but a good practice would be to use
malloc very few times and allocate large chunks of memory...

Anil


On Fri, Jul 16, 2010 at 12:47 PM, rkumar <[email protected]>wrote:

> malloc returns unintialized chunk of memory while calloc returns
> allocated chunk of memory and then intialized it.
>
> On Jul 11, 1:15 pm, RIDER <[email protected]> wrote:
> > what is the advantage of using calloc() over malloc() and in which
> > case i should use that?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to