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 <mr.ravindra.ku...@gmail.com>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 <mohit...@gmail.com> 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 algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > 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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.