#include <stdio.h>
#include <stdlib.h>
int main(void) {
double *a;
a
=(double*)malloc(sizeof(double)*5); for(int i=0; i<5; i++){
a[i]=(double)i/10;
}
for(int i=0; i<5; i++){
printf("a[%d]のアドレスは%p\n",i
,&(a
[i
])); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKHZvaWQpIHsKCWRvdWJsZSAqYTsKCWE9KGRvdWJsZSopbWFsbG9jKHNpemVvZihkb3VibGUpKjUpOwoJZm9yKGludCBpPTA7IGk8NTsgaSsrKXsKCQlhW2ldPShkb3VibGUpaS8xMDsKCX0KCWZvcihpbnQgaT0wOyBpPDU7IGkrKyl7CgkJcHJpbnRmKCJhWyVkXeOBruOCouODieODrOOCueOBryVwXG4iLGksJihhW2ldKSk7CgkJcHJpbnRmKCLjgZ3jga7kuK3ouqvjga8lbGZcbiIsYVtpXSk7Cgl9CgoJcmV0dXJuIDA7Cn0K