摘要: 2022-10-20:以下go语言代码输出什么?A:7;B:7.0;C:0;D:编译错误。 package main import ( "fmt" ) func main() { const X = 7.0 var x interface{} = X if y, ok := x.(int); ok 阅读全文
posted @ 2022-10-20 21:56 福大大架构师每日一题 阅读(49) 评论(0) 推荐(0) 编辑