fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int a,b,*p,*q;
  6.  
  7. p = &a;
  8. q = &b;
  9. a = 1;
  10. //b = 3;
  11. *q = 3;
  12. b = p;
  13.  
  14. printf("%d,%d,%d,%d\n",a,b,p,q);
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
1,1733849136,1733849136,1733849140