Computer Science, asked by Makwanasunil6097, 11 months ago

If malloc() successfully allocates memory it returns the number of bytes it has allocated.



a. True



b. False

Answers

Answered by sarcasticaf
0

Answer:

False

Explanation:

It returns the void pointer that is pointing to the memory allocated. The memory allocated is calculated by us manually by using appropriate operations with data types. For eg . we use sizeof operater to calculate size of the datatype block and then multipy it by number of blocks allocated.

Similar questions