#include<stdio.h>
int main(){
int i;
int data[10];
int *p;
for(i = 0;i < 10;i++)data[i] = 100+i;
for(p = data;*p!=109;p++)
printf("アドレス%pの中身は、%dです。\n",p
,*p
);
p = data;
printf("data[4]の中身は、%pです。\n",data
[4]); printf("data[5]の中身は、%dです。\n",*(p
+ 5));
return(0);
}
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluKCl7CiAgICBpbnQgaTsKICAgIGludCBkYXRhWzEwXTsKICAgIGludCAqcDsKCiAgICBmb3IoaSA9IDA7aSA8IDEwO2krKylkYXRhW2ldID0gMTAwK2k7CgogICAgZm9yKHAgPSBkYXRhOypwIT0xMDk7cCsrKQogICAgICAgIHByaW50Zigi44Ki44OJ44Os44K5JXDjga7kuK3ouqvjga/jgIElZOOBp+OBmeOAglxuIixwLCpwKTsKICAgIAogICAgcCA9IGRhdGE7CiAgICBwcmludGYoImRhdGFbNF3jga7kuK3ouqvjga/jgIElcOOBp+OBmeOAglxuIixkYXRhWzRdKTsKICAgIHByaW50ZigiZGF0YVs1XeOBruS4rei6q+OBr+OAgSVk44Gn44GZ44CCXG4iLCoocCArIDUpKTsKICAgICAgICAKICAgIHJldHVybigwKTsKfQ==