版权声明:本文为博主原创学习记录文章,未经博主允许不得转载。 https://blog.csdn.net/cooco369/article/details/48844891
int a = 1, b = 32;
printf("%d", 1 << 32); //0
printf("%x", 1 << b); //1
printf("%d", a << b); //1
printf("%d", a << 32); //1
int a = 1, b = 32;
printf("%d", 1 << 32); //0
printf("%x", 1 << b); //1
printf("%d", a << b); //1
printf("%d", a << 32); //1