【单选题】【消耗次数:1】
下述程序的运行结果( )。 #includevoid main() { int a=1,b=2,c=3; if(c=a)printf(%d\n else printf(%d\n }
1
3
5
6
参考答案:
复制
纠错
相关题目
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  1
②  2
③  3
④  4
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  0
②  1
③  2
④  3
【单选题】 下述程序的运行结果( )。 #includevoid main() { int p,a=0; if(p=a!=0)printf(%d\n else printf(%d\n,p+2); }
①  1
②  2
③  3
④  5
【单选题】 下述程序的运行结果( )。 #includevoid main() { int n; for(n=1;nn++) { if(n%3==0)continue; printf(%d } }
①  12345678
②  124689
③  12457810
④  1234456
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,0,3
②  4,5,6
③  5,1,3
④  3,4,6
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,1,3
②  4,5,6
③  5,0,3
④  3,4,7
【单选题】 下列程序执行后的输出结果是 #includevoid main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 有如下程序: #includevoid main( ) { int a=2,b=-1,c=2; if (ab) if (b0) c=0; else c++; printf(%d\n } 该程序的输出结果是
①  0
②  1
③  2
④  3
【单选题】 以下程序的运行结果是( )。 Main() {int k=4,a=3,b=2,c=; printf(\n %d\n,ka?k:cb?c:a); }
①  4
②  3
③  2
④  1
【单选题】 以下程序的运行结果是:main){intk=4,a=3,b=2,c=;printf\n%d\n,k<a?k:c<b?c:a);}
①  4
②  3
③  2
④  1
随机题目
【简答题】 Translate the sentence by using “as if”.You look _________________.(好像并不在乎)
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[privilege; component; stagnant; entangle; superficial; arresting; expound; penetrating; indulge; click]8. The most[填空1]feature is the painted wall decoration.
【简答题】 Direction: Fill in the blanks with thephrases given below. Change the form if necessary.[ought to; look forward to; in wonder; give way to; look down; on the way to; reach out; put one’s arm around; trip over; cut into]10. The boards were[填空1]shape for further processing.
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[chore; talent; crowded; earnings; finance; festive; memorable; sacrifice; smash; reproduction]3. He was satisfied with his[填空1]as an accountant.
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[assumption; contact; cliff; equivalent; emergency; outweigh; height; rummage; vibration; bugbear]10.[填空1]the Tourist Information Bureau for further details.
【简答题】 什么是利润表?利润表的主要作用是什么?
【简答题】 简述会计假设的内容及作用。
【简答题】 简述永续盘存制及实地盘存制的定义及优缺点。
【简答题】 结转已销产品成本,应编制的会计分录为借记[填空],贷记“库存商品”。
【简答题】 用来核算企业采用实际成本进行材料物资日常核算时外购材料的买价和各种采购费用,据以计算、确定购入材料的实际采购成本的账户是[填空]。