下面程序执行的结果是int a=3;a+=(a<1)?a:1;printf(“%d”,a);
查看答案
main(){int a=12,b=-34,c=56,min=0;min=a;if(min>b) min=b;if(min>c) min=c;printf("min=%d",min);}输出结果为:
main(){intx=2,y=-1,z=5;if(x
main(){char ch;ch=getchar();switch(ch){case‘A’:printf(“%c”,’A’);case‘B’:printf(“%c”,’B’);break;default:printf(“%s\n”,”other”);}}当从键盘输入字母A时,输出结果为:
In the past, the cut of your clothes depends upon _____.
A. the whims of a designer
B. the skill of a tailor
C. the average consumer body type
D. all the above