当前位置:网站首页>a++,++a,!,~

a++,++a,!,~

2022-06-23 00:40:00 51CTO

Learn to position and and or so on , Realization function

      
      
// a++ Is to give value , after ++
! Right and wrong
~ Take the opposite
int main()
{
int a = 15;
// 0000....001111
a = a & ( ~( 1 << 2));

printf( "%d\n", a);
return 0;
}
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
原网站

版权声明
本文为[51CTO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206222133320504.html