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

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

Views 33

Answer:

(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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.