Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Define an integer variable a, and use C language code to realize displacement operation. One bit 3 of A is set to 1, and the other bit 3 of A is set to 0.
Define an integer variable a, and use C language code to realize displacement operation. One bit 3 of A is set to 1, and the other bit 3 of A is set to 0.
int? Party A, Party B and Party C;

Answer? =? 16;

b? =? a & amp0xFFFFFFF7//? Bit 3 of is cleared.

c? =? a | 8; //Set a bit of 1.

printf("%d? %d”,b,c);