【方法】 将数组的首地址和数组的长度传入函数中 【例如】 函数声明 void traversal(int *array ,int n); 函数调用 traversal (array,n); 【遍历实例】 【求最值实例】