#include <stdio.h>

int main()

{

int vx = 3.14;

printf("%d\n",vx);


return 0;

}


结果为3,int为整数类型,小数会被省略