Code AnalysisIntermediate 180s
Close Channel Read
Read the code and determine the output.
Starter code
ch:=make(chan int,1);ch<-42;close(ch);v,ok:=<-ch;v2,ok2:=<-ch;fmt.Println(v,ok,v2,ok2)
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.