What is the difference between a procedure and a function ?

What is the difference between a procedure and a function ?
Functions return a single variable by value whereas procedures do not return
any variable by value. Rather they return multiple variables by passing
variables by reference through their OUT parameter.

No comments: