Sponsored Links

function are like a subtask. They receive some information do some process and provide a result .function are invoked through calling program .The calling program does not need to know what the function is do and how its performing its task.
There is a specification function called methodology . The calling program call a function by giving some information and receive a result .
There are two categories of function
1 ) function that return a value
2 ) function that do not return a value