/*step1*/
char (*pArray) [ARRAY_SIZE];
/*step2*/
char * buffer = malloc (BUFFER_SIZE);
/*step3*/
pArray = buffer ;
/*step4*/
pArray [x][y] = 10 ;
warning: assignment from incompatible pointer type
typedef char ARRAY[ARRAY_SIZE];
typedef array *PARRAY ;
PARRAY pArray ;
pArray = (PARRAY)buffer ;
pArray [x] [y] = 10 ;
pArray[x][y]
pArray = new int[width*height];
pArray[x+width*h] = 10;
int aaArray[height][width];
*(aaArray + y*width + x);
int **ppArray;
*(*(ppArray + x) + y);