#include <stdio.h> int main(void) { int a[3][4] = {{1, 3, 5, 7}, {9, 11, 13, 15}, {17, 19, 21, 23}}; int i, *p = (int *)a; for(i = 0; i < 12; i++) { printf("%4d", *(p + i)); if(0 == (i + 1) % 4) { printf("\n"); } } return 0; }