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