编辑代码

#include <stdio.h>
int main () {
    int A,B;
    A=    0xab;
    A&=~(1<<2);
    A|=1<<2;

	printf("%x \r\n",A);
	return 0;
}