Stdle #103 · classes · 2026-09-17
What does this Go snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" type Color struct{ R, G, B int } func main() { c := Color{255, 0, 0} red := Color{255, 0, 0} fmt.Println(c == red, c == Color{})}Classes