Code AnalysisIntermediate 50s
Trace: Struct Copy Semantics
What is printed?
Starter code
type P struct{ X int }
p := P{1}
q := p
q.X = 9
fmt.Println(p.X, q.X)Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.