Which keyword is used to recover from a panic in Go?
Which keyword is used to create a new instance of a struct in Go?
Which Go package provides functions for handling errors that are returned by functions in a uniform way?
What is the output of the following code:
func change(x *int) {
*x = 5
}
func main() {
y := 10
change(&y)
fmt.Println(y)
}
What is the output of the following code: fmt.Println(1 == 1.0)
What happens when you dereference a nil pointer in Go?
Which of the following is NOT a valid way to define an interface method in Go?
What is an empty interface in Go?
Which of the following statements is true about the panic function in Go?
What is the purpose of a defer statement in Go?