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