malloc returns a void pointer to the allocated space, or NULL if there is insufficient memory available . To return a pointer to a type other than void , use a type cast on the return value.
Read moremalloc returns a void pointer to the allocated space, or NULL if there is insufficient memory available . To return a pointer to a type other than void , use a type cast on the return value.
Read more