A function is a set of block of statements which is used to
solve a particular problem or perform some operations. Function is the part of
modulo programming where large program is divided into small modules; these
modules are known as functions.
In other word we can say that it is a unit of code which is
used to solve a particular task or problem. Function is also known as the
subprogram.
Sy:
return_type function_name( arguments,………..)
{
…………………./
body of the function
……………………
}
No comments:
Post a Comment