Nothing.
Here is the picture again, just after the statement
x = 0;
in the zero()
method has executed:
The statement x = 0
changes only the
formal parameter x
.
The variable value
in the caller
is not changed.
As far as the main()
method is concerned,
what has been the effect of the zero()
method?