- 1

If x=5,find y and x in y=x--+++x

Operators

6th May 2021, 5:22 PM
Mary😍
Mary😍 - avatar
2 Antworten
0
Try in code playgrounds
6th May 2021, 5:37 PM
Atul [Inactive]
0
y=(x--) + (++x) It may be 11, but isn't it undefined? Can we even use these operators on the same variable multiple times in the same line?
6th May 2021, 6:04 PM
Michal Doruch