fork(1) 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=*p;
  11.  
  12. printf("%d,%d,%d,%d\n",a,b,*p,*q);
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
1,1,1,1