#include<iostream>
using namespace std;


int main()
{
int a[5] = {0,1,2,3,4};
int *p = a;



cout << a[1] << endl << p[1]<<endl;
cout << p + 1<<endl << &a[1] << endl;
cout << p << endl << a << endl;

int i = 10;
int *p1 = &i;
int **p2 = &p1;
printf("%d,%d\n", **p2);
printf("%d\n", &p1);

system("pause");
return 0;
}

指针与数组的关系,指针运算,指向指针的指针(二维指针)_#include