"If no return is found and if the last statement is an expression, its value is returned."
In reply to Re: Doubt in functions by monsoon in thread Doubt in functions by vyeddula