Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardGointerface representation iface itabSingle-choice MCQ

Given this code with a typed nil, what does the comparison print and why, in terms of the iface representation?

func get() error { var p *os.PathError = nil return p } func main() { fmt.Println(get() == nil) }