#include <stdio.h>
int main(void) {
// your code goes here
int x[10]={0};
int *p=x;
for(int i=0;i<10;i++){
printf("x[%d]=%d\n",i
,*(p
+i
)); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgeFsxMF09ezB9OwoJaW50ICpwPXg7CglzY2FuZigiJWQiLHgpOwoJc2NhbmYoIiVkIix4KzkpOwoJZm9yKGludCBpPTA7aTwxMDtpKyspewoJCXByaW50ZigieFslZF09JWRcbiIsaSwqKHAraSkpOwoJfQoJcmV0dXJuIDA7Cn0K