CC Function Parameters
Passing data to functions.
C Function Parameters
Information can be passed to functions as parameters. Parameters act as variables inside the function.
Parameters are specified after the function name, inside the parentheses. You can add as many parameters as you want, just separate them with a comma.
Return Values
The void keyword, used in the previous examples, indicates that the function should not return a value. If you want the function to return a value, you can use a data type (such as int, float, etc.) instead of void, and use the return keyword inside the function.
Examples
With Parameters
c exampleReturn Value
c example