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