Collabera interview question

difference between procedure and function