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
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
Create a free account to access the full topic