C++学习笔记(二)之数组 数组作形参时,实际传入数组首地址 1 void print(const int*) 2 void print(const int []) 3 void print(const int[10]) 三种方法等价