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
Environmental Sciences,
4 months ago
Computer Science,
4 months ago
Art,
4 months ago
Social Sciences,
7 months ago
English,
7 months ago
Geography,
1 year ago