单项选择题

下列程序的输出结果是______。
main()
float x=3.6;
int i;
i=(int)x;
printf("x=%f,i=%d",x,i);

A.x=3.600000,i=4
B.x=3 i=3
C.x=3.600000,i=3
D.x=3 i=3.600000