a=11, b = 12, find the value of at=b++ * 5/a++ +b
Answers
Answered by
0
Answer:
a 5
b
6
c
8
done for you mark
Answered by
0
a += a++ - ++b + a
⇒ a = a + (a++ - ++b + a)
⇒ a = 5 + (5 - 10 + 6)
⇒ a = 5 + 1
⇒ a = 6
a++ first uses the current value of a (which is 5) in the expression and then increments it to 6. ++b first increment the current value of b to 10 and uses this incremented value in the expression.
Similar questions