Memory Allocation - Programming

Q1:

malloc() returns a float pointer if memory is allocated for storing float's and a double pointer if memory is allocated for storing double's.

A True

B False

ANS:A - True

Return type depend on typecast like p = (int*)malloc(90).

It will return integer type pointer.