1.

The calloc() function allocates space for an array of n objects, each of whose size is defined by size. Space is initialized to all bits zero.(a) true(b) falseI had been asked this question in class test.The origin of the question is General Utilities in portion C Library of C

Answer»

The correct option is (a) true

Explanation: VOID *calloc(size-t N, size-t size);

This FUNCTION is used to allocate the REQUESTED memory and returns a pointer to it.



Discussion

No Comment Found

Related InterviewSolutions