Calculate the number

Report a typo

What does the code below print?

var a = 1
++a
a--
a++
println(a--)

Enter the result in the answer box.

Enter a number
___

Create a free account to access the full topic