17 lines
177 B
Go
17 lines
177 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
i, j := 42, 2701
|
|
|
|
p := &i
|
|
fmt.Println(*p)
|
|
*p = 21
|
|
p = &j
|
|
fmt.Println(i)
|
|
|
|
*p = *p / 37
|
|
fmt.Println(j)
|
|
}
|