printf tilde operator in c

后端 未结 0 641
无人及你
无人及你 2021-01-27 09:08

I know that the ~ operator is NOT, so it inverts the bits in a binary number

unsigned int a = ~0, b = ~7;
printf("%d\\n",a);
printf("%         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题