A function can be values givenas input to the function. It can then use them within the function body. When the function is defined, the type and number of parameters that can bepassed in or received by the functions are specified. When the function is called, the values of the parameters are given. The function call parameters must match the type and number of parameters specified. In other words, the function signature must match both the caller of the function and the called function.
We have already encountered a function that takes a parameter—the printf( "Hello, world!\n" ); function call. Here, the parameter is a string with the "Hello, world!\n"value. It could be almost any string, as long it is delimited by"".
Function parameters are specified in the function definition between the ( … ) delimiters. The ellipsis indicates that there can be zero or more function parameters...