c8-12.c 212 B

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