A function call consists of the name of a function, the passing of values to the function and optionally using the return value. The return value can be used in an expression, written to a variable or ignored.
Values are passed to the parameters of the function. A value can be passed as a variable or as a result of an expression.
If a parameter holds a reference, then the function can change the contents of the variables refered to.
The return value is either:
g(f(x) + 1)
.a = f(x)
.f(x)
.The following calls the function named f
and sets the parameters to a+1
, b
and c*3
.
f(a+1, b, c*3);
We would be more than happy to help you. Our opening hours are 9–15 (CET).
📞 (+47) 93 68 22 77
Nils Bays vei 50, 0876 Oslo, Norway