1.数组传递参数以后不能计算长度 如果我们以数组作为参数传递,是无法直接计算得到数组长度的。 为了验证上述结论,我们参考以下代码: #includeusing namespace std;void t1(int nums[]) {c