精选优质文档-倾情为你奉上编程题1用指向数组的指针变量输出数组的全部元素#includevoid main( ) int a10, i; int *p; for (i=0; iai;for (p=a; pa+10; p+) cout*pt;#includevoid main( ) int a10, i; int *p=a; for (i=0; iai; for (i=0; i10; i+) cout*p+t;2 使用函数调用,形参为指针,实参为数组,把一个数组逆序存放在输出#includevoid inv(int *x, int n);void m