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