#include <stdio.h>
#define SIZE 3
int main()
{
float x[SIZE];
float *fp;
int i;
for(i=0; i<SIZE; i++)
//{
x[i] = 0.5*(float)i;
//}
for(i-0; i<SIZE; i++)
//{
//}
fp=x;
for(i=0; i<SIZE; i++)
//{
printf(" %d %f \n", i
, *(fp
+i
)); //}
return 0;
}
ICNpbmNsdWRlIDxzdGRpby5oPgogICAgI2RlZmluZSBTSVpFIDMKCiAgICBpbnQgbWFpbigpCiAgICB7CglmbG9hdCB4W1NJWkVdOwoJZmxvYXQgKmZwOwoJaW50IGk7CgoJZm9yKGk9MDsgaTxTSVpFOyBpKyspCgkvL3sKCQl4W2ldID0gMC41KihmbG9hdClpOwoJLy99CgkKCWZvcihpLTA7IGk8U0laRTsgaSsrKQoJLy97CQoJCXByaW50ZigiICVkICVmIFxuIiwgaSwgeFtpXSk7CgkJCgkvL30KCglmcD14OwoKCWZvcihpPTA7IGk8U0laRTsgaSsrKQoJLy97CgkJcHJpbnRmKCIgJWQgJWYgXG4iLCBpLCAqKGZwK2kpKTsKCS8vfQkKICAgICAgICByZXR1cm4gMDsgCiAgICB9Cg==