#include <stdio.h>
int main(void) {
int a,b,*p,*q;
p = &a;
q = &b;
*q = 1;
a = 3;
b = *p;
*q = 1;
printf("a=%d,b=%d,*p=%d,*q=%d\n",a
,b
,*p
,*q
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYSxiLCpwLCpxOwoJcCA9ICZhOwoJcSA9ICZiOwoJKnEgPSAxOwoJYSA9IDM7CgliID0gKnA7CgkqcSA9IDE7CgkKCXByaW50ZigiYT0lZCxiPSVkLCpwPSVkLCpxPSVkXG4iLGEsYiwqcCwqcSk7CglyZXR1cm4gMDsKfQo=