You have a function:
fun sum(a: Int = 1, b: Int, c: Int = 2, d: Int = 4) = a + b + c + d
What does this invocation print?
println(sum(5, 6))You have a function:
fun sum(a: Int = 1, b: Int, c: Int = 2, d: Int = 4) = a + b + c + d
What does this invocation print?
println(sum(5, 6))Create a free account to access the full topic