We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adcdae1 commit 6481037Copy full SHA for 6481037
chapter9/sources/go-unsafe/go_stack_obj_ref_by_uintptr.go
@@ -7,7 +7,7 @@ import (
7
8
func main() {
9
var x = [10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}
10
- fmt.Printf("变量x的值=%d\n", x)
+ fmt.Printf("变量x的值=%v\n", x)
11
println("变量x的地址=", &x)
12
13
var p = uintptr(unsafe.Pointer(&x))
0 commit comments