EveryBody..
i want to create one 8*8 dimensional array in objective c..
( [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0
In C:
int **array = (int**)calloc(8, sizeof(int*)); for (int i=0; i<8; i++) array[i] = (int*)calloc(8, sizeof(int)); // use your array // cleaning: for (int i=0; i<8; i++) free(array[i]); free(array);