Types of functions
The user defined functions might be categorized into three ways.
A function that is invoked with no passing any formal argument does not return any value to the calling portion.
A function is invoked along with formal argument and does not return any value to the calling portion.
A function is invoked along with formal argument and returns back a value to the calling environment