When box_car_volume
is called with three integer variables as
arguments, a copy of the value of the first argument becomes the value
of the first parameter, h
; a copy of the value of the second
argument becomes the value of the second parameter, w
; and a copy of
the value of the third argument becomes the value of the third parameter,
l
. Assuming, for example, that the value of the variable
height
is 11
, that the value of width
is 9
, and
that the value of length
is 40
, then the copying works like
this:
box_car_volume (height, width, length) | | | | | | Argument are evaluated v v v | 11 9 40 <--------* | | | | | | Values are copied into memory | | | reserved for parameters h v w v l v | *---* *---* *---* | | | | | | | <--------* *---* *---* *---*