好奇怪哦
#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