关于位移
#include <stdio.h>#define UDLONG unsigned long long
#define ULONG unsigned long
#define BYTE unsigned char
#define UINT unsigned int
#define UWORD unsigned short
void main(void)
{
BYTE a=1;
UWORD aa;
UINT b=1;
UINT bb;
UDLONG c=1;
UDLONG cc;
aa=a<<8;
bb=b<<32;
cc=c<<64;
}
环境:vs2008
结果:aa=256 bb=1 cc=0
求解释