Reason: In the above expression, ++z means that the value will first increment by 1, then used. Now, evaluate the statement by putting the values of x, y, and z. On calculating the final answer is 24, as shown below.
++z +y -y +z + x++
11 + 5 - 5 + 10 + 3 = 24