public class exe
{
public static void Main()
{
int a, b, c;
c = 0x1af034;
a = (c >> 16) & 0xffff;
b = c & 0x00ff;
Console.WriteLine("a is {0}",a );
Console.WriteLine("b is {0}",b );
Console.Read();
}
}
请问这里为什么(c >> 16) & 0xffff的值会是26?还有c & 0x00ff的值为什么是52?
Cats萌萌
肥皂起泡泡
相关分类