calloc -- Usefulness of zeroing out memory

Posted by chrisgoyal on Stack Overflow See other posts from Stack Overflow or by chrisgoyal
Published on 2010-02-13T02:09:07Z Indexed on 2010/03/31 3:23 UTC
Read the original article Hit count: 420

Filed under:
|
|
|
|

Hi,

What is the advantage of zeroing out memory (i.e. calloc over malloc)? Won't you change the value to something else anyways?

-Chris

© Stack Overflow or respective owner

Related posts about c

    Related posts about memory