下列程序中,运行后x的值为()void main(){int a=0xa1, b=0x79;x=a&b;}
A. 0x21
B. 0x45
C. 0xf9
D. 0x94
查看答案
下列程序中,运行后x的值为()void main(){int a=0xa1, b=0x79;x=a|b;}
A. 0x21
B. 0x94
C. 0xf9
D. 0x37
下列程序中,运行后x的值为()void main(){int a=0xa1, b=0x79;x=a&0xf0;}
A. 0xa0
B. 0x01
C. 0xa1
D. 0x00
下列程序中,运行后x的值为()void main(){int a=0xa1, b=0x79;x=~a;}
A. 0x5e
B. 0x1a
C. 0xa1
D. 0x29
下列程序中,运行后x的值为()void main(){int a=0xa1, b=0x79;x=(a>>2);}
A. 0x1a
B. 0xa3
C. 0x28
D. 0x35