Question #175

Author: admin
tags: Go  
package main

import (
	"fmt"
)

func main() {
	var myMap = make(map[string]any)

	myMap["x1"] = "hello"
	myMap["x2"] = nil

	fmt.Println(myMap["x1"]) // ??
	fmt.Println(myMap["x2"]) // ??
	fmt.Println(myMap["x3"]) // ??
}
What will be printed?
hello, <nil>, 0
hello, <nil>, empty string
hello, <nil>, <nil>
hello, <nil>, then the program will panic
Rate the difficulty of the question:
easyhard