对于局部变量整型切片x的赋值,下面定义正确的是() A.x := []int{1, 2, 3,4, 5, 6,}B.x := []int{1, 2, 3,4, 5, 6}C.x := []int{1, 2, 3,4, 5, 6}D.x := []int{1, 2, 3, 4, 5, 6,}
对于局部变量整型切片x的赋值,下面定义正确的是()
A.x := []int{1, 2, 3,4, 5, 6,}
B.x := []int{1, 2, 3,4, 5, 6}
C.x := []int{1, 2, 3,4, 5, 6}
D.x := []int{1, 2, 3, 4, 5, 6,}
相关考题:
为了给整型变量x,y,z赋初值10,下面正确的Python赋值语句是()A.xyz=10B.x=10 y=10 z=10C.x=y=z=10D.x, y, z=10