TCS interview question

Diffrence between function and procedure