为啥最后输出的f值为-1610612736,i=0,求指教
#include <stdio.h>void main ()
{
int i; float f;
f=3.1415926;i=5;
printf("i=%d,f=%f\n",i,f);
i=(int)f;
printf("i=%d\n",i);
f=5/3;
printf("f=%f\n",f);
f=(float)5/3;
printf("f=%f\n",f);printf("f=%d\n",f);printf("i=%f\n",i);
}
是不是实型转整型溢出了,但是i呢