Answered Questions

  • What is the difference between malloc and calloc

    maha

    • May 12th, 2012

    Malloc is the memory allocation operator whereas calloc is the memory release operator

    RaviRanjan kumar

    • Feb 1st, 2012

    malloc: malloc create the single block of given size by user calloc: calloc creates multiple blocks of given size both return void pointer(void *)so boh requires type casting malloc: eg: int *p; p=(...