write a program in java if x=5; find the value of x+ = x+ ( x++ * x ++ )
Answers
Answered by
1
Answer:
x+=5+(5*6)
x+=5+30
x+=35
x=35+5
output =40
Explanation:
x++ is post increment i.e., it first uses the allotted value and then sends the changed value ahead
Similar questions