用C符号和无符号整型之间的区别 [英] Difference between unsigned and unsigned int in C
本文介绍了用C符号和无符号整型之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
能否请你说清楚有什么区别之间的无符号
和 unsigned int类型
?也许一些例子code将是有益的。
Could you please make it clear what the difference is between unsigned
and unsigned int
? Maybe some example code would be helpful.
推荐答案
无符号
是可以适用于任何整数类型(修改字符
,短
, INT
,长
等),但对自己是等同于 unsigned int类型
。
unsigned
is a modifier which can apply to any integral type (char
, short
, int
, long
, etc.) but on its own it is identical to unsigned int
.
这篇关于用C符号和无符号整型之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文