主题:优先级问题
#include <iostream>
using namespace std;
int main()
{
unsigned char a = 0xa5;
unsigned char b = (~a)>>4;
// b = b>>4;
printf("%d\n",b);
return 0;
}
这个优先级是怎么回事啊?觉得有问题啊?
using namespace std;
int main()
{
unsigned char a = 0xa5;
unsigned char b = (~a)>>4;
// b = b>>4;
printf("%d\n",b);
return 0;
}
这个优先级是怎么回事啊?觉得有问题啊?