title: How can I get the address of a pointer？
body: <pre><code>package main
  
  import "fmt"
  
  func main() {
     var a int= 20   
     var ip *int    
  
     ip = &amp;a 
  
     fmt.Printf("a address: %x\n", &amp;a  )
  
     fmt.Printf(" the adrress that ip stored: %x\n", ip )
     /*I try to get the address of variable ip */
     fmt.Printf(" the address of ip: %d\n", &amp;ip )
  
  }
  </code></pre>
  
  <blockquote>
    <p>go run a.go</p>
  </blockquote>
  
  <p>result:</p>
  
  <p>a address: c420016078
  the adrress that ip stored: c420016078 
   the address of ip: 842350510120</p>
  
  <p>my question is : is 842350510120 correct address of ip?</p>