Wipro interview question

difference between truncate and delete in sql