The type [n]T is an array of n values of type T . The expression var a [10]int. declares a variable a as an array of ... var a [2]string. 7. a[0] = "Hello".
確定! 回上一頁