Tech Mahindra Interview Question

Difference between procedure and functions