#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]= i/10.0;
}
for(int i=0;i<5;i++){
printf("a[%d]のアドレスは %p\n", i
,&(a
[i
])); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKHZvaWQpIHsKCWRvdWJsZSogYTsKCWEgPSAoZG91YmxlICopbWFsbG9jKHNpemVvZihkb3VibGUpKjUpOwoJZm9yKGludCBpPTA7aTw1O2krKyl7CgkJYVtpXT0gaS8xMC4wOwoJfQoKCWZvcihpbnQgaT0wO2k8NTtpKyspewoJCXByaW50ZigiYVslZF3jga7jgqLjg4njg6zjgrnjga8gJXBcbiIsIGksJihhW2ldKSk7CgkJcHJpbnRmKCLjgZ3jga7kuK3ouqvjga8gJWxmXG4iLCBhW2ldKTsKCX0KCXJldHVybiAwOwp9Cg==