Infosys interview question

Diff between malloc and alloc