题目内容

#includeint main( ){int i,t=1; for(i=1;i<5;i++) t=t*i; printf("%d",t); }程序的运行结果是____

查看答案
更多问题

执行以下程序段的输出结果为____int n=12345,d; while (n!=0) { d=n%10; printf("%d",d); n/=10;}

若要提前结束本次循环的执行,应该使用____语句。注意:字母小写,大写不得分。

若要提前终止循环语句的执行,应该使用____语句。

int main(){int x=2,y=1;switch(x){case 1: y=x ; break;case 2: y=-x ;case 3: y=x*3 ; break;case 4: y=4*x;}printf(“%d\n”,y);}执行结果是()

答案查题题库