Original Post
Hi, If I do the following: /////using a 2D dynamic array directly int **array2D = new int *[10]; for (int i = 0; i < 10; ++i) array2D = new int[10]; ///// vs. /////using a 1D array to replace a 2D array int *array1D = new int[10 * 10]; int **array2D = &array1D ///// Will there be a difference in the way the machine accesses an element in array2D? eg. int c = array2D[5][5];