int与float

int是整型。float是单精度浮点型。

int只能表示整数,在windows32和64中占4个字节。

folat也就是有小数部分的,如:3、234。小数有效位是7个。也占4个字节。

0
纠错

猜你喜欢

int与float
问答乎 m.wendahu.com