RosettaCodeData/Task/Memory-allocation/Go/memory-allocation-2.go
2023-07-01 13:44:08 -04:00

4 lines
54 B
Go

func inc(n int) *int {
x := n + 1
return &x
}