为什么signed int转换为unsigned int

时间:2017-02-15 23:14:14

标签: c

你能解释一下吗?为什么unsigned int不能转换为signed int。

signed int a = 100;
unsigned int b = 4294967295;
a-b; /// Why 'a' will be convert to unsigned? Explain pls

0 个答案:

没有答案