If z=7, evaluate: (a) f= ++z + z-- (b) f=z++ * 2
in java
Answers
Answered by
1
Answer:
a) f= 8+ 8 = 16
b) f = 7*2= 14
Answered by
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