Greenies, I've stuck by you for so long and made so many excuses for the bad service, now I'll go to mojo bones or poppas. Carrie L. and 2 others voted for this review Useful 3
Functions[edit] A function, which can also be referred to as subroutine, procedure, subprogram or even method, carries out tasks defined by a sequence of statements called a statement block that need only be written once and called by a program as many times as needed to carry out the same task.
Syntax of function call. In the above example, function call is made using statement add(num1,num2); from main() . This make the control of program jump from that statement to function definition and executes the codes inside that function.. Function declarator. Function declarator is the first line of function definition. When a function is called, control of the program is transferred to function declarator.