Functions are the set of codes used to perform specific task. In Swift programming language, functions are used to pass local as well global parameter values inside the function's call.
In Swift4, functions can be categorized in two types :
* User Defined Functions
* Built-in Functions (Library Functions)