Junior — Senior
Blocking a record in a non-buffered channel
livecode
Task condition
What output will this program produce? You need to analyze what happens when there is an attempt to send a value to an unbuffered channel without an active receiver.
package main
import "fmt"
func main() {
fmt.Println("main() started")
c := make(chan string)
c <- "John"
fmt.Println("main() stopped")
}