1712A-1choosetheproperresponsetothequestion
A. It’soverthere.
B. Sorrytohearit.
C. That’sallfight.
D. It’swonderful.
查看答案
1712A-2choosetheproperresponsetothequestion
A. Hereyouare.
B. Itdoesn’tmatter.
C. Yes,ofcourse.
D. Thankyou.
#include"stdio.h"int main(void){int a=3,b=4,c=5,d=2;if(a>b)if(b>c)printf("%d",d++ +1);elseprintf("%d",++d +1);printf("%d\n",d);return 0;}程序运行后的输出结果是()。
A. 2
B. 3
C. 43
D. 44
#include "stdio.h"int main(){int x,y;scanf("%d",&x);y=0;if (x>=0){if (x>0) y=1;}else y=-1;printf ("%d",y);return 0;}当从键盘输入32时,程序输出结果为()
A. 0
B. -1
C. 1
D. 不确定值
有以下程序:#include"stdio.h"int main(void){ inti=1,j=1,k=2;if((j++‖k++)&&i++) printf("%d,%d,%d\n",i,j,k);return 0;}执行后输出结果是()。
A. 1,1,2
B. 2,2,1
C. 2,2,2
D. 2,2,3