#include int main(int argc, char const *argv[]) { int arr[2][5]; for (int i = 0; i < 2; i++) for (int j = 0; j < 5; j++) arr[i][j] = i*100 +j; int *arrp = arr[0]; for (int i = 0; i < 10; i++) { printf("%5d %5d %12d\n", i, *arrp, arrp); arrp++; } int *parr = arr[0]; int *earr = parr + ((2 * 5)); while (parr < earr) { printf("%5c %5d %12d\n", ' ', *parr, parr); parr++; } return 0; }