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