If malloc() successfully allocates memory it returns the number of bytes it has allocated.
a. True
b. False
Answers
Answered by
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
English,
6 months ago
Computer Science,
6 months ago
English,
11 months ago
Science,
1 year ago
Social Sciences,
1 year ago