Calling Functions
Learn how to invoke functions.
We'll cover the following...
We'll cover the following...
Calling refers to how a function is used in a code, i.e., how a function is invoked. To call a function, you write its name followed by the comma-separated list of actual input values in parentheses.
Code example
Let’s see how the existing functions are called in the main function.
Explanation
First, note the use of the two declarations that precede the
mainfunction. They allowmainto usevoidFunctionandgetSumeven though they aren’t defined ...