Functions
Functions
Function Call: A function call is a statement that instructs the compiler to execute the
function. We use the function name and parameters in the function call.
Four methods of user define functions
There are four types of user-defined functions divided on the basis of arguments they accept and
the value they return:
1. Function with No Arguments and No Return Value
Functions that have no arguments and no return values. Such functions can either be used to
display information or to perform any task on global variables.