+ 3
int **array; int i; //whatever size you want the matrix to be int row, col; array = (int**)malloc(row*sizeof(int*)); for(i=0;i<row;i++) { array[i]=(int*)malloc(col*sizeof(int)); }
29th Nov 2017, 7:50 PM
capsloth
capsloth - avatar