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