【计算机类职业资格】国家二级C语言机试(操作题)模拟试卷488及答案解析.doc

上传人:吴艺期 文档编号:1332299 上传时间:2019-10-17 格式:DOC 页数:3 大小:33KB
下载 相关 举报
【计算机类职业资格】国家二级C语言机试(操作题)模拟试卷488及答案解析.doc_第1页
第1页 / 共3页
【计算机类职业资格】国家二级C语言机试(操作题)模拟试卷488及答案解析.doc_第2页
第2页 / 共3页
【计算机类职业资格】国家二级C语言机试(操作题)模拟试卷488及答案解析.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

国家二级 C语言机试(操作题)模拟试卷 488及答案解析(总分:6.00,做题时间:90 分钟)一、程序填空题(总题数:1,分数:2.00)1.给定程序中,函数 fun的作用是:不断从终端读入整数,由变量 a统计大于 0的个数,用变量 c来统计小于 0的个数,当输入 0时结束输入,并通过形参 pa和 pb把统计的数据传回主函数进行输出。 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。 注意:源程序存放在考生文件夹下的 BLANK1C 中。 不得增行或删行,也不得更改程序的结构!#includestdiohvoid fun(int *px,int *py)*found*int 【1】 ;scanf(“d“,k);*found*while 【2】if(k0)a+; if(k0)c+;*found* 【3】 ; *px=a;*py=c;main()int x,y; fun( *a=0; *c=0; for( i=0; i

展开阅读全文
相关资源
猜你喜欢
  • DIN EN ISO 15839-2007 Water quality - On-line sensors analysing equipment for water - Specifications and performance tests (ISO 15839 2003) English version of DIN EN ISO 15839 2007.pdf DIN EN ISO 15839-2007 Water quality - On-line sensors analysing equipment for water - Specifications and performance tests (ISO 15839 2003) English version of DIN EN ISO 15839 2007.pdf
  • DIN EN ISO 15841-2014 Dentistry - Wires for use in orthodontics (ISO 15841 2014) German version EN ISO 15841 2014《牙科学 畸齿矫正用金属线(ISO 15841-2014) 德文版本EN ISO 15841-2014》.pdf DIN EN ISO 15841-2014 Dentistry - Wires for use in orthodontics (ISO 15841 2014) German version EN ISO 15841 2014《牙科学 畸齿矫正用金属线(ISO 15841-2014) 德文版本EN ISO 15841-2014》.pdf
  • DIN EN ISO 15848-1-2017 Industrial valves - Measurement test and qualification procedures for fugitive emissions - Part 1 Classification system and qualification procedures for typ.pdf DIN EN ISO 15848-1-2017 Industrial valves - Measurement test and qualification procedures for fugitive emissions - Part 1 Classification system and qualification procedures for typ.pdf
  • DIN EN ISO 15848-2-2015 Industrial valves - Measurement test and qualification procedures for fugitive emissions - Part 2 Production acceptance test of valves (ISO 15848-2 2015) Ge.pdf DIN EN ISO 15848-2-2015 Industrial valves - Measurement test and qualification procedures for fugitive emissions - Part 2 Production acceptance test of valves (ISO 15848-2 2015) Ge.pdf
  • DIN EN ISO 15854-2005 Dentistry - Casting and baseplate waxes (ISO 15854 2005) English version of DIN EN ISO 15854《牙科学 铸型蜡和假牙托蜡》.pdf DIN EN ISO 15854-2005 Dentistry - Casting and baseplate waxes (ISO 15854 2005) English version of DIN EN ISO 15854《牙科学 铸型蜡和假牙托蜡》.pdf
  • DIN EN ISO 15858-2017 UV-C Devices - Safety information - Permissible human exposure (ISO 15858 2016) German version EN ISO 15858 2016《UV-C设备 安全信息 允许人体暴露(ISO 15858-2016) 德文版本EN ISO.pdf DIN EN ISO 15858-2017 UV-C Devices - Safety information - Permissible human exposure (ISO 15858 2016) German version EN ISO 15858 2016《UV-C设备 安全信息 允许人体暴露(ISO 15858-2016) 德文版本EN ISO.pdf
  • DIN EN ISO 15867-2003 Intermediate bulk containers (IBCs) for non-dangerous goods - Terminology (ISO 15867 2003) German version EN ISO 15867 2003《无危险货物用中型散货集装箱 术语》.pdf DIN EN ISO 15867-2003 Intermediate bulk containers (IBCs) for non-dangerous goods - Terminology (ISO 15867 2003) German version EN ISO 15867 2003《无危险货物用中型散货集装箱 术语》.pdf
  • DIN EN ISO 15874-1-2013 Plastics piping systems for hot and cold water installations - Polypropylene (PP) - Part 1 General (ISO 15874-1 2013) German and English version EN ISO 1587.pdf DIN EN ISO 15874-1-2013 Plastics piping systems for hot and cold water installations - Polypropylene (PP) - Part 1 General (ISO 15874-1 2013) German and English version EN ISO 1587.pdf
  • DIN EN ISO 15874-2-2013 Plastics piping systems for hot and cold water installations - Polypropylene (PP) - Part 2 Pipes (ISO 15874-2 2013) German and English version EN ISO 15874-.pdf DIN EN ISO 15874-2-2013 Plastics piping systems for hot and cold water installations - Polypropylene (PP) - Part 2 Pipes (ISO 15874-2 2013) German and English version EN ISO 15874-.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1