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