fork download
  1. #include <stdio.h>
  2.  
  3. typedef struct { int arr[4]; } Bar;
  4.  
  5. int main(void) {
  6. Bar baz;
  7. int (*pfoo)[4] = baz.arr;
  8. (*pfoo)[1] = 4;
  9. printf("%d\n", baz.arr[1]);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 4576KB
stdin
Standard input is empty
stdout
4