Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted as Plain Text by azzz ( 10 years ago )
func Sum(array []int) {
fmt.Println(array)
}
func main() {
var array [3]int
array[0]=0; array[1]=1; array[2]=2
Sum(&array;)
fmt.Println(array)
}
Revise this Paste