fork download
  1. #include<stdio.h>
  2. int main(void)
  3. {
  4. int a[2][3] = {0,0,1,2,3,4,5};
  5. int (*p)[3] = a-1;
  6. for(int i=0; i<=2; i++){
  7. printf("%d\n", *(p[i]));
  8. }
  9. return 0;
  10. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
0
0
2