Consider the following code:
val a = 3
var b = 6
val c = (a - 2) * ++b
print(c)
What is the value of the variable c?
Consider the following code:
val a = 3
var b = 6
val c = (a - 2) * ++b
print(c)
What is the value of the variable c?
Create a free account to access the full topic