下列程序中,运行后x的值为()void main(){int a=0xa1, b=0x79;x=a^b;}
A. 0x2b
B. 0xd8
C. 0xa9
D. 0x71
查看答案
下列程序中,运行后x的值为()void main(){int a=0xfe, b=0x79;x=(a<<1)+1;}
A. 0xfd
B. 0x7e
C. 0xfc
D. 0xff
下列程序中,运行后x的值为()void main(){int a=12, b=23,c=5,d=12;x=(a>b)&&(c>d);}
A. 0
B. 1
C. 12
D. 5
下列程序中,运行后x的值为()void main(){int a=12, b=23,c=5,d=12;x=(a>b)&&(a==d);}
A. 0
B. 1
C. 12
D. 23
下列程序中,运行后x的值为()void main(){int a=12, b=23,c=5,d=12;x=!(a>b);}
A. 0
B. 1
C. 12
D. 23