Elements of a function's signature

Report a typo

Below you will see the sum() function declaration:

func sum(x, y int) int {
    return x + y
}

Match each of the elements of the sum() function's signature with its correct definition.

Match the items from left and right columns
func
sum
(x, y int)
int
The function's return type
The keyword used to declare functions
The name of the function
The function's parameter list
___

Create a free account to access the full topic