Why is the sum of bitwise & (and) and bitwise | (inclusive or) equal to bitwise ^ (exclusive or) ? Is there some significance to it?

后端 未结 0 952
醉话见心
醉话见心 2021-01-12 23:05

#include

void main ()

{ int i, j; //Takes i as 0 with short

printf("Enter two integers: ");
scanf("%d %d", &         


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