ä»åã¯ãã¤ã³ã¿ã¨æ§é ä½ã«ç¦ç¹ãå½ã¦ã¦å¦ç¿ãã¾ããã ãã¤ã³ã¿ ãã¤ã³ã¿ã¨ã¯ï¼ ãã¤ã³ã¿ã¯ã¡ã¢ãªã®ã¢ãã¬ã¹æ å ±ã®ãã¨ã§ãã 詳ãã説æã¯ä»¥ä¸ã®ãªã³ã¯ãã¨ã¦ãåèã«ãªãã¾ããã ãåèã Goã§å¦ã¶ãã¤ã³ã¿ã¨ã¢ãã¬ã¹ Cè¨èªã®ãã¤ã³ã¿ããã package main import "fmt" func main() { var var1 int = 10 var var2 *int = &var1 fmt.Println(var1) //=> 10 fmt.Println(var2) //=> 0x10414020 fmt.Println(*var2) //=> 10 }
{{#tags}}- {{label}}
{{/tags}}