Swift - Functions
What is the output of this Swift code?
func multiply(_ a: Int, _ b: Int) -> Int {
return a * b
}
print(multiply(3, 4))func multiply(_ a: Int, _ b: Int) -> Int {
return a * b
}
print(multiply(3, 4))15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions