fork download
  1. #include <stdio.h>
  2.  
  3. typedef struct{
  4. int x;
  5. int y;
  6. int z;
  7.  
  8. }Co;
  9.  
  10. int main(void) {
  11. Co me={0};
  12. Co *next=&me;
  13.  
  14. next->x+=1;
  15.  
  16. printf("%d\n",me.x);
  17. printf("%d",me.y);
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
1
0