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