Computer Science, asked by garimajp82007, 6 months ago

If z=7, evaluate: (a) f= ++z + z-- (b) f=z++ * 2
in java

Answers

Answered by hamda
1

Answer:

a) f= 8+ 8 = 16

b) f = 7*2= 14

Answered by AdityaRaj626
2

Explanation:

if z++ the first it will be operated the the value will be incremented.

if ++z the first the value will be incremented the it will be operated.

Attachments:
Similar questions