← Back to archive

Stdle #17 · classes · 2026-06-23

What does this Go snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

package main
import "fmt"
type S struct {
N int
T string
}
func main() {
var s S
fmt.Printf("%d %q\n", s.N, s.T)
}
Classes
4 attempts left

Answer & explanation