the question still remains that why we need a malloc when calooc will don the same thing by inistialising the memory with zero rther than some random value.

Deepika Rani <[EMAIL PROTECTED]> wrote:


malloc only allocates memory but calloc intialise the memory to 0s

On Wed, 22 Dec 2004 k ramakrishna wrote :
>hi all,
>      please clear this to me.both malloc and calloc are used for memory allocation only.why not we can use any one of these instead of both?
>
>THANKS AND REGARDS
>ramakrishna
>
>Yahoo! India Matrimony: Find your life partneronline.





To unsubscribe : [EMAIL PROTECTED]





Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.

To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to