func getSum(sum *int, n1, n2 int) { *sum = n1 + n2}var sum = 0getSum(&sum, 5, 3)//sum is 8fmt.Println("sum =", sum)