#include <stdio.h>
void main() {
short x[2][2] = {{1,2},{3,4}}; //2차원배열
short *px[2]; //포인터배열
short **ppx; //포인터-포인터변수
px[0] = x[0]; px[1] = x[1];
ppx = px;
printf("%10u %10u %10u \n", px[0], px[1], ppx);
printf("%10u %10u %10u \n", px[0]+1, px[1]+1, ppx+1);
printf("%10u %10u \n", *(++px[0]), *(++ppx));
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: