Junior — Senior
What result will the program output to the console (example 55)
livecode
Task condition
Determine which output will appear on the screen after executing the following code:
package main
import "fmt"
func changePointer(p *int) {
v := 3
p = &v
}
func main() {
v := 3
p = &v
fmt.Println(*p)
changePointer(p)
fmt.Println(*p)
}