2021-02-28到2021-06-30
每5天更新一次
第二章 运算符、表达式 第二章 运算符、表达式
1、 以下不符合C语言语法的赋值语句是()。
A:A.a=b=5;
B:B.y=(a=3,6*5);
C:C.++j;
D:D.a=1,b=2
答案: D.a=1,b=2
2、 下列程序的输出结果为()。int main(){int m=7,n=4;float a=38.4,b=6.4,x;x=m/2+n*a/b+1/2;printf(“%f”,x);return 0;}
A:A.27.000000
B:B.28.500000
C:C.27.500000
D:D.28.000000
答案: A.27.000000