#include<iostream>
using namespace std;
int main() {
int arr[] = { 1,2,3,4,5,6,7 };
//int* p = arr; //第一个数组]
//*p=*p+2;
//cout << "数组中第三个数=" << *p << endl;
int* p = arr;
for (int i = 0; i < 6; i++)
{
//cout << arr[i] << endl;
cout << *p << endl;
*p++;
}
system("pause");
return 0;
}