Answer from cs61c-as (Gerardo Bonilla 15311015) for Question 1 a, assuming a non-NULL pointer, malloc will scan until a big enough free space of memory is found and it returns the pointer of the begining of the space to the user.