short和int型至少为16位,long型至少为32位,并且short型长度不能超过int型,而int型不能超过long型。short long int char字节数
因此在51单片机(8位)int为2字节 16位 0–65535; char为1位 0-255;

相关文章: