short和int型至少为16位,long型至少为32位,并且short型长度不能超过int型,而int型不能超过long型。 因此在51单片机(8位)int为2字节 16位 0–65535; char为1位 0-255; 相关文章: 2022-12-23 2021-10-06 2021-05-02 2021-07-17 2022-01-01 2021-04-26 2021-12-09