BNP Paribas Interview Question

Difference between Function and Procedure