Infosys interview question

Difference between truncate and delete