关于1<<32

版权声明:本文为博主原创学习记录文章,未经博主允许不得转载。 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

猜你喜欢

转载自blog.csdn.net/cooco369/article/details/48844891