short和int型至少为16位,long型至少为32位,并且short型长度不能超过int型,而int型不能超过long型。
因此在51单片机(8位)int为2字节 16位 0–65535; char为1位 0-255;
short long int char字节数
最新推荐文章于 2025-05-13 14:17:12 发布
short和int型至少为16位,long型至少为32位,并且short型长度不能超过int型,而int型不能超过long型。
因此在51单片机(8位)int为2字节 16位 0–65535; char为1位 0-255;