【简答题】以下程序段的运行结果是( )。 include<stdio.h> main() {int x=2,y=1: switch(x) {case 1: switch(y) {case 0:printf('x=2,y=1/n');break; case 1:printf('y=1/n');break; } case 2:printf('x=2/n'); } }
【单选题】以下程序段的运行结果是 。int x=10;printf("%d,%d",x,x++);
【简答题】(Short answer)Convert each pair of decimal numbers to binary and add using the 2’s complement form: (a) 33 and 15 (b) 56 and -27 (c) -46 and 25 (d) -110 and -84
【单选题】患者,男性,79岁,因急性肺炎高热入院。为其做口腔护理时发现口腔内有溃疡,应选择的药物是
【单选题】以下程序段的运行结果是 int x,i; for(i=1;i<=100;i++) { x=i; if(++x%2==0) if(++x%3==0) if(++x%7==0) printf("%d",x); } printf("\n");
【单选题】以下程序段的运行结果是() int x=072; printf("%d\n",x+1);
【单选题】患者,男性,79岁,因急性肺炎高热入院。为其做口腔护理时发现口腔内有溃疡,应选择的药物是
【单选题】以下程序段的运行结果是 int x=1,y=0,a=0,b=0; switch(x) { case 1: switch(y) { case 0:a++;break; case 1:b++;break; } case 2:a++;b++;break; case 3:a++;b++; } printf("%d,%d",a,b);
【单选题】以下程序段的运行结果是 int x=3; do{ printf("%3d,",x-=2); }while(!(--x));