20180318 代码错题(1)

有以下程序
#include <stdio. h>
main(){
int x =35,B;
char z ='B';
B =((x)&&(z <'b'));
printf("%d ",B);
}
程序运行后的输出结果是
1
0
35
66

答案 A  错选 B 

考察类型之间的转换,布尔值与Int型

ascii码中,大写字母排在小写字母前面

原文地址:https://www.cnblogs.com/kxzh/p/8597830.html