Swift - Functions
Identify the error in this Swift code snippet:
var multiply: (Int, Int) -> Int
multiply = { a, b in a * b }
print(multiply(2))var multiply: (Int, Int) -> Int
multiply = { a, b in a * b }
print(multiply(2))15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions