Domanda di colloquio di Infineon Technologies

What is the difference between a procedure and a function?