|
A function is a block of statement
that has a name and it has a property that it is
reusable i.e. it can be executed from as many different
points in a C Program as required.
A function is a self contained block of statements that
perform a coherent task of the same kindFunction helps to groups a number of
program statements into a unit and gives it a name. This
unit can be invoked from the other parts of a program.It is not possible by
computer program to handle all the tasks by it self.
Instead its requests other program like entities -
called functions in C - to get its tasks done.
In a C Program,the name of the function is
unique and is Global. It meams that a
function can be accessed from any location with in a C
Program.when the function is called,we pass information to the function called
arguments specified.And the function either
returns some values to the point it was called from or
returns nothing
|