package main import “fmt” func fp(a *[3]int) { fmt.Println(a) } func main() { for i := 0; i < 3; i++ { fp(&[3]int{i, i * i, i * i * i}) } }
时间: 2024-10-29 19:06:36
package main import “fmt” func fp(a *[3]int) { fmt.Println(a) } func main() { for i := 0; i < 3; i++ { fp(&[3]int{i, i * i, i * i * i}) } }