Cadence Design Systems interview question

Difference between new and malloc?