y = ++x + x++ - --x if x=1
Answers
Answered by
2
Answer:
if I'm right, it is Increment and dicreament operator.
y = ++x + x++ - --x if x=1
y = (x + 1) + (x + 1) - (x - 1)
y = (1 + 1) + (1 + 1) - (1 - 1)
y = 2 + 2 - 1 + 1
y = 4
Similar questions