Pergunta de entrevista da empresa TikTok

What's the difference between malloc and 'new'?