Sorry, that's not correct
Remember, in C, we always pass by value. So when
x
is changed inside of
foo()
it does not change the value of it's argument. In particular, it doesn't change
i
in the statement
j = foo( i ) ;
Press
here
to go back.