Swift Function with Argument Label
func sum(of a: Int, and b: Int) { print("Sum:", a + b) } sum(of: 2, and: 3)
Swift Function With Argument Label
func sum(of a: Int, and b: Int) { ... }
func sum(of a: Int, and b: Int) { print("Sum:", a + b) } sum(of: 2, and: 3)
func sum(of a: Int, and b: Int) { ... }