Value of b

Report a typo

Find the value of b in the following code snippet:

fun main() {
   var a = 5
   var b = ...
   val c = a++ * 1 - b--
   println(c)
}

Output: -4

Select one option from the list
___

Create a free account to access the full topic