type person struct{}
var tom *person = &person{}
When I use
fmt.Printf("%+v
", tom)//prints:&{}
Why the result is & plus data?It is surposed to be an address(0x0055)
When I use
fmt.Printf("%+v
", &tom)//0x0038
fmt.Printf("%p
", &tom)//0x0038
It gives me an address,it gives me 0x0038,why %v and %p has the same result?