2021-02-22 17:48:14 +00:00

9 lines
286 B
Markdown

# RETURN statement
it is used to return from a function and can be used anywhere within a function
syntax
1. RETURN ( return nil )
2. RETURN expression ( evaluates expression and returns value )
any return value must match with the type defined while declaring function