fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. struct list{
  5. int *fp;
  6. }data,*p;
  7. int x[]={100,200,300,400};
  8. p=&data;
  9. p->fp=x+1;
  10. printf("%d",*(++p->fp));
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
300