Named arguments

Report a typo

Scally defined the following function:

def f(x: Int, y: Int, z: Int) = y / x + z

What will be the result of the code below?

f(z = 2, x = 1, y = 0)
Enter a number
___

Create a free account to access the full topic