Collabera Interview Question

difference between procedure and function