fork download
  1. #include <stdio.h>
  2. typedef struct {
  3. int x;
  4. int y;
  5. } test_t;
  6.  
  7. test_t test[4];
  8.  
  9. void test001(test_t (*p)[4]) {
  10. printf("%d", p[0]->x);
  11. }
  12.  
  13. int main(void) {
  14. test[0].x = 66;
  15. test001(&test);
  16. return 0;
  17. }
Success #stdin #stdout 0.02s 1720KB
stdin
Standard input is empty
stdout
66