【单选题】【消耗次数:1】
下列程序执行后的输出结果是________. #include stdio.h void 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
参考答案:
复制
纠错
相关题目
【单选题】 下列程序执行后的输出结果是_______.#include stdio.h void 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=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=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=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=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 a=1,b=2,c=3; if(c=a)printf(%d\n else printf(%d\n }
①  1
②  3
③  5
④  6
【单选题】 若变量已正确定义,有以下程序段int a=3,b=5,c=7;if(ab)a=b;c=a;if(c!=a)c=b;;printf(%d,%d,%d\na,b,c)其输出结果是
①  语法错误
②  3,5,3
③  3,5,5
④  3,5,7
【单选题】 以下程序的输出结果是(  )。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
①  101
②  6
③  4
④  3
【简答题】 以下程序的输出结果是[填空1]。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
随机题目
【单选题】 多媒体技术中,媒体一般指_________。
①  传递媒体的载体
②  传递信息的载体
③  存储信息的实体
④  存储媒体的实体
【单选题】 以下不属于多媒体声卡的功能的是_______。
①  录制和编辑波形音频文件
②  合成和播放波形音频文件
③  压缩和解压缩波形音频文件
④  与MIDI设备相连接
【单选题】 多媒体的基本特性有_______
①  多样式、交互性、集成性
②  整体性、交互性、可扩充性
③  整体性、可扩充性、集成性
④  多样性、交互性、可传播性
【单选题】 关于文件的压缩,以下说法正确的是_________。
①  文本文件与图形图像都可以采用有损压缩。
②  文本文件与图形图像都不可以采用有损压缩
③  文本文件可以采用有损压缩,图形图像不可以
④  图形图像可以采用有损压缩,文本文件不可以。
【单选题】 以下不属于多媒体计算机常用的图像输入设备是__________。
①  扫描仪
②  录像机
③  摄像头
④  数码照相机
【单选题】 光盘的性能指标中,最慢的是_______。
①  擦写速度
②  写入速度
③  读取速度
④  播放速度
【判断题】 计算机多媒体技术中的媒体含义之一是指存储信息的实体。
①  正确
②  错误
【单选题】 下列__________是Windows的通用音频格式。
①  MP3
②  CAD
③  BMP
④  WAV
【单选题】 要播放音频或视频光盘,_____不是需要安装的。
①  网卡
②  声卡
③  影视卡
④  解压卡
【单选题】 下列不属于多媒体播放工具的是_____。
①  暴风影音
②  迅雷
③  Realplayer实时播放器
④  Windows Media Player