Did you read the tutorials you were given? Basically, the thing that's being passed by value is a reference to the array. The tutorials explain it quite well, so I won't go into it further here.