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