题目1单选题
已知a,b,c的值分别为1,2,3,则执行下列语句后a,b,c 的值分别是( ).if(a++<b) {c=a;a=b;b=c;}else a=b=c=0A. 0,0,0B. 1,2,3C. 1,2,1D. 2,2,2
题目6A. if(a>B. b++ else a++;else {a++;printf("%d",a);}B.if(a>b) {b++;printf("%d",b);}C. if(a>b) {b++;printf("%d",b)}else {a++;printf("%d",a);}D. if(a>b) b++;printf("%d",b);else printf("%d",a)
题目7A. if (x>0)printf("%f",x)else printf("%f", -x)B. if (x>0){x=x+y;printf("%f",x);}elseprintf("%f", -x)C. if(x>0){x=x+y;printf("%f",x);}x=x+y;printf("%f",x)D. if (x>0)elseprintf("%f", -x)