char表明有符号仍是无符号?

C标准规定为 Implementation Defined(由实做环境决定)。 举个栗子:linux arm-linux-gcc 规定 char 为 unsigned char vc 编译器、x86上的 gcc 规定 char 为 signed char 缺省状况下,编译器默认数据为signed类型,可是char类型除外。web SO, 为了代码移植,必定不要用 char !svg
相关文章
相关标签/搜索