Examveda

Select the right statement with reference to malloc() and calloc().

A. malloc() does not set the memory to zero whereas calloc() sets allocated memory to zero

B. malloc() sets the memory to zero whereas calloc() does not set allocated memory to zero

C. malloc() sets the memory to zero whereas calloc() sets allocated memory to zero

D. malloc() does not set the memory to zero whereas calloc() does not set allocated memory to zero

Answer: Option A


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions