+3 votes
in Class 12 by kratos

The function that allocates requested size of bytes and returns a pointer to the first byte of the allocated space is -

(A) realloc

(B) malloc

(C) calloc

(D) none of the above

1 Answer

+3 votes
by kratos
 
Best answer

Correct option -**(B) malloc**

Explanation:-

malloc allocates requested size of bytes and returns a pointer to the first byte of the allocated space.

...