fork download
  1. #include <stdio.h>
  2.  
  3. int main(void){
  4. int x[4][3]={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
  5. int (*p)[3];
  6. int *pp[3];
  7. p=&x[1];
  8. pp[0]=x[2];
  9. printf("%d %d %d %d", (*p)[0], p[1][0], *pp[0], **(p+1));
  10. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
4 7 7 7