Infosys Interview Question

difference between function and store procedure