#include//数组名做参数,会改变数组本身的值void printA(int a[],int n){ printf("%d\n", sizeof(a));//4 传入的是首地址 for (int i = 0; i < n; ++i) { printf("%d ",a[i]); } printf("\n");}void printB(int b[3][4]){ for (int i = 0; i < 3; ++i) { for (int j = 0; j < 4; ++j) { printf("%d ",a[i][j]); } } printf("\n");}//指针做参数,会改变数组本身的值void printAP(int *p, int n){ printf("%d\n", sizeof(p)); //4 传入的是首地址 int *pLength =p+n; for (; p