#include <iostream> #include <string.h> using namespace std; int *p; int *q; void func(int* p, int n); int main() { int result[6] = {0}; int arr[6] = {0 }; p =arr; q =result;//创造一个数组存放结果并用另一个指针指向它的开头 for (int i = 0; i < 6; i++) { cin >> arr[i]; ...