int与float


int与float


int是整型 。float是单精度浮点型 。
int只能表示整数,在windows32和64中占4个字节 。
【int与float】folat也就是有小数部分的,如:3、234 。小数有效位是7个 。也占4个字节 。

    推荐阅读