Suppose you have the sum() function, it returns the addition of two int numbers x and y:
func sum(x, y int) int {
return x + y
}
Select below the correct ways to use the sum() function in your Go program.
Suppose you have the sum() function, it returns the addition of two int numbers x and y:
func sum(x, y int) int {
return x + y
}
Select below the correct ways to use the sum() function in your Go program.
Create a free account to access the full topic