Unix

1:

The differences between malloc( ) and calloc() are:

A. Malloc is used for dynamic allocation of memory, while cal:1°c can't be used for that purpose
B. Malloc needs only one argument. while cal loc needs two.
C. unlike malloc, calloc allocates memory and initializes it to 0.
D. Both (b) and (c)
 

Answer : D

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.