摘要: 2022-08-01:以下go语言代码输出什么?A:panic;B:5;C:6;D:编译错误。 package main import ( "fmt" ) func main() { c := make(chan int, 5) c <- 5 c <- 6 close(c) fmt.Println( 阅读全文
posted @ 2022-08-01 22:06 福大大架构师每日一题 阅读(16) 评论(0) 推荐(0) 编辑