Question #246

Author: admin
tags: Go  
package main

import "fmt"

type Planet struct {
	Name       string
	Population int
}

func main() {
	planet1 := Planet{"Mars", 100}
	planet2 := Planet{Population: 100, Name: "Mars"}
	fmt.Println(planet1 == planet2) // ??
}
What will be printed?
false
true
Nothing, the code will not be compiled
Rate the difficulty of the question:
easyhard