Skip to content

Instantly share code, notes, and snippets.

@dav1x
Created February 28, 2018 16:47
Show Gist options
  • Save dav1x/52c8eddc7d3f22a4939576d9b50a842e to your computer and use it in GitHub Desktop.
Save dav1x/52c8eddc7d3f22a4939576d9b50a842e to your computer and use it in GitHub Desktop.
Here's a tricky one! What will the following program print out?
package main
import "fmt"
func main() {
name := "Bill"
fmt.Println(*&name)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment