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