+ 3

How (++0 + --0 )=1

Increment/decrement operators

28th Dec 2019, 10:27 AM
Saumya Mishra
Saumya Mishra - avatar
4 Answers
+ 2
Which language are you talking about? In some languages like JavaScript its a syntax error In Python it evaluates to 0 not 1
28th Dec 2019, 10:42 AM
GodSpeed
GodSpeed - avatar
+ 2
Please delete the duplicate question to help reduce duplicate questions 👍 https://www.sololearn.com/Discuss/2114858/?ref=app
28th Dec 2019, 10:54 AM
Ipang
+ 1
He write maybe in java?
28th Dec 2019, 10:51 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar