fork download
  1. #include <stdio.h>
  2. struct node
  3. { int i;
  4. int *c; };
  5. int main()
  6. { struct node a[2], *p;
  7. int b[2] = {15,20};
  8. p = &a;
  9. a[0].i=30; a[1].i=45;
  10. a[0].c=b;
  11. printf ("%d %d", *--p->c, *++p->c);
  12. return 0; }
  13.  
Success #stdin #stdout 0s 5268KB
stdin
Standard input is empty
stdout
15 20