C - Functions - Discussion

You Are Here :: Home > C > Functions - Discussion

 



Q.

Difference between calloc() and malloc()

A. calloc() takes a single argument while malloc() needs two arguments B. malloc() takes a single argument while calloc() needs two arguments
C. malloc() initializes the allocated memory to ZERO D. calloc() initializes the allocated memory to NULL

Answer: Option B
Explaination:

 


No Explanation



Discussion

Your Comments Goes here...
NameDiscussion