fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x,y,z;
  5. int *px,*py,*pz;
  6. px=&x;
  7. py=&y;
  8. pz=&z;
  9. *px=3;
  10. *py=9;
  11. *pz=*px**px+*py**py;
  12.  
  13.  
  14. printf("*pz=%d\n",*pz);
  15. printf("z=%d\n",z);
  16.  
  17.  
  18. }
  19.  
Success #stdin #stdout 0s 5588KB
stdin
Standard input is empty
stdout
*pz=90
z=90