Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGoreflection basicsSingle-choice MCQ

What does this reflection code print, given the difference between reflect.Kind and reflect.Type?

type Celsius float64 func main() { var c Celsius = 21 t := reflect.TypeOf(c) fmt.Println(t.Name(), t.Kind()) }