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