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