#include <stdio.h>
int i;
int main(void) {
int a[3]={1,2,3};
int *p=a;
for(int i=0;i<3;i++){
printf(" p+%d=%d\n",i
,*(p
+i
)); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBpOwppbnQgbWFpbih2b2lkKSB7CglpbnQgYVszXT17MSwyLDN9OwoJaW50ICpwPWE7Cglmb3IoaW50IGk9MDtpPDM7aSsrKXsKCQlwcmludGYoIiZhWyVkXT0lZFxuIixpLGFbaV0pOwoJCXByaW50ZigiICBwKyVkPSVkXG4iLGksKihwK2kpKTsKCX0KCQoJcmV0dXJuIDA7Cn0K