< Previous | Contents | Next >
Using Parameters and Return Values
As you’ve seen with standard library functions, you can provide a function value and get a value back. For example, with the toupper() function, you provide a character, and the function returns the uppercase version of it. Your own functions can also receive values and return a value. This allows your functions to communicate with the rest of your program.