I was wondering if someone could explain to me how to solve an array to see what it is going to output. This is an exercise question I have that I do not know how to do:
First, assume a calling function with the following local variables: 1.1) array "x" of integers with values of 71, 97, 17, 86, 41, 50, 66, 9, 7, 43, 19; and 1.2) integer variable "a" with values of 4
Second, assume a called function whose UML interface is "-mystery(y[]: int, b: int)"
Third, assume the called function's implementation has the following single statement: y[b]/=3;
Fourth, assume the calling function calls the called function passing it the following arguments: x, a
Fifth, assume after control returns to the calling function it sends the value of the following expression to the standard output streaming via the stream insertion operator: x[a]
What is displayed on the standard output device?