✏️ Explanatory Question

(h) Evaluate the following expression if the value of x=2, y=3 and z=1.

  v=x + --z + y++ + y

👁 82 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

(h) Evaluate the following expression if the value of x=2, y=3 and z=1.

  v=x + --z + y++ + y

Answer

    v = x + --z + y++ + y
⇒ v = 2 + 0 + 3 + 4
⇒ v = 9