好奇怪哦
#include <stdio.h>
void main ()
{
int value = 0xFF;
printf("The inverse of %X is %X\n", value, ~value);
}
为什么
有
printf("The inverse of %X is %X\n", value, ~value);
%X
~value
结果是为什么会这样哦
The inverse of FF is FFFFFF00
Press any key to continue
----------------解决方案--------------------------------------------------------
转换成2进制,自己看看就到了
----------------解决方案--------------------------------------------------------
看书啊,唉!!!!!
----------------解决方案--------------------------------------------------------
.....
----------------解决方案--------------------------------------------------------