以下程序的输出结果是#includevoid main(){ int x=0.5;char z='a';printf("%d\n", (x&&1)&&(z<'z') );}
查看答案
下列程序执行后的输出结果是(小数点后只写一位)#includevoid main(){double d;float f;long l;int i;i=f=i=d=20/3;printf("%d %ld %f %f \n", i,l,f,d);}
A. 6 6 6.0 6.0
B. 6 6 6.7 6.7
C. 6 6 6.0 6.7
D. 6 6 6.7 6.0
下列程序的运行结果是#include < stdio.h >void main(){int a=2,b=5;printf("a=%d,b=%d\n",a,b);}
A. a=%2,b=%5
B. a=2,b=5
C. a=d, b=d
D. a=%d,b=%d
判断字符型变量x是否是大写字母的正确表达式是___
A. 'A' <= x <='z'
B. (x>=A) && (x <= Z)
C. ('A'<= x) && ('Z' >= x)
D. (x >='A') && (x <='Z')
下列程序的运行结果是#includevoid main(){int a=2,c=5;printf("a=%d,b=%d\n",a,c);}
A. a=%2,b=%5
B. a=2,b=5
C. a=d, b=d
D. a=%d,b=%d