IBM interview question

Diffrence between Procedure and functions