&的优先级属于二级(比较低),写程序时要注意
摘要:#include<stdio.h> int main() { int a=0b11100111; if((a&0x0f)==0b0111)//'&'优先级还没有'=='优先级高 { printf("%d\n",t); } return 0; }
阅读全文
posted @ 2020-03-30 10:43
posted @ 2020-03-30 10:43
posted @ 2020-03-25 18:57
posted @ 2020-03-25 10:46
posted @ 2020-03-25 09:28
posted @ 2020-03-23 19:05
posted @ 2020-03-22 21:47