摘要: 2022-09-22:以下go语言代码输出什么?A:5、B:不能编译;C:运行时死锁。 package main import ( "fmt" "time" ) func main() { ch1 := make(chan int) go fmt.Println(<-ch1) ch1 <- 5 ti 阅读全文
posted @ 2022-09-22 22:02 福大大架构师每日一题 阅读(11) 评论(0) 推荐(0) 编辑