BNP Paribas interview question

Difference between Function and Procedure