•Because value parameters are passed copies of their arguments, anything that has a value may be passed to a value parameter, including constants, variables and complicated expressions.
•Examples
– PrintLines(3);
– PrintLines(lineCount);
– PrintLines(2 * abs(10 –
someInt));
•There must be the same number of arguments in a function
call as there are parameters in the function heading.
Also, each argument should have the same
data type as the parameter in the same
position (if not, they are coerced).