fork download
  1. #include <stdio.h>
  2. struct s;
  3. struct a{
  4. struct s *q;
  5. int x;
  6. };
  7. struct s{
  8. struct a *w;
  9. int y;
  10. };
  11. int main(void) {
  12. // your code goes here
  13. struct a s1;
  14. s1.q->y =200;
  15. printf("%d", s1.q->y);
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
200