&的优先级属于二级(比较低),写程序时要注意

#include<stdio.h>
int main()
{
    int a=0b11100111;
    if((a&0x0f)==0b0111)//'&'优先级还没有'=='优先级高
    {
        printf("%d
",t);
    }
    return 0;
}

  

》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
原文地址:https://www.cnblogs.com/ssws/p/12597069.html