【计算机类职业资格】对函数的进一步讨论及答案解析.doc

上传人:bonesoil321 文档编号:1335383 上传时间:2019-10-17 格式:DOC 页数:4 大小:34.50KB
下载 相关 举报
【计算机类职业资格】对函数的进一步讨论及答案解析.doc_第1页
第1页 / 共4页
【计算机类职业资格】对函数的进一步讨论及答案解析.doc_第2页
第2页 / 共4页
【计算机类职业资格】对函数的进一步讨论及答案解析.doc_第3页
第3页 / 共4页
【计算机类职业资格】对函数的进一步讨论及答案解析.doc_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

1、对函数的进一步讨论及答案解析(总分:14.00,做题时间:90 分钟)一、B选择题/B(总题数:8,分数:8.00)1.下列程序执行后的输出结果是_。(分数:1.00)A.helloB.helC.hloD.hlm void func1 (int ; void func2 (int ; char st=“hello,friend!“; void func1(int printf(“%c“,s; if(i3) i+=2;func2(; void func2 (int printf(“c“,s; if(i3) i+=2;func1(; main() int i=0;func1(;printf(“/n

2、);2.程序中若有如下说明和定义语句 char fun (char*); main() char*s=“one“,a5=0,(*f1)()=fun,ch; 以下选项中对 fun()函数的正确调用语句是。(分数:1.00)A.(*f1)(;B.*f1(*;C.fun( i=f(fa,fb,2);printf(“%d/n“i; 程序运行后的输出结果是_。(分数:2.00)填空项 1:_11.以下程序通过函数指针 p调用函数 fun,请在填空栏内,写出定义变量 p的语句。 void fun (int*x,int*y) main() int a=10,b=20; _;严定义变量 p*/ p=fun;p( i=f(fa,fb,2);printf(“%d/n“i; 程序运行后的输出结果是_。(分数:2.00)填空项 1:_ (正确答案:4)解析:11.以下程序通过函数指针 p调用函数 fun,请在填空栏内,写出定义变量 p的语句。 void fun (int*x,int*y) main() int a=10,b=20; _;严定义变量 p*/ p=fun;p(&a,&b); (分数:2.00)填空项 1:_ (正确答案:void (*p)(int*,int *) 或 void(*p)())解析:

展开阅读全文
相关资源
猜你喜欢
  • EJ T 20003 9-2014 3235 Specification for series of geological maps for in-situ leaching sandstone type uranium deposits Part 9 geophysical comprehensive achievement maps《地浸砂岩型铀矿地质图.pdf EJ T 20003 9-2014 3235 Specification for series of geological maps for in-situ leaching sandstone type uranium deposits Part 9 geophysical comprehensive achievement maps《地浸砂岩型铀矿地质图.pdf
  • EJ T 20011-2012 1250 The safety closure of nuclear facilities《核设施安全关闭》.pdf EJ T 20011-2012 1250 The safety closure of nuclear facilities《核设施安全关闭》.pdf
  • EJ T 20012-2012 7500 Technical regulations for predisposal management of high level radioactive waste《高放废物处置前管理技术规定》.pdf EJ T 20012-2012 7500 Technical regulations for predisposal management of high level radioactive waste《高放废物处置前管理技术规定》.pdf
  • EJ T 20013-2012 2500 Design requirements for irradiation facility of water-cooled reactor fuel assembly《水冷反应堆燃料组件辐照考验装置设计要求》.pdf EJ T 20013-2012 2500 Design requirements for irradiation facility of water-cooled reactor fuel assembly《水冷反应堆燃料组件辐照考验装置设计要求》.pdf
  • EJ T 20014-2012 3125 Design requirements for irradiation test loop of water-cooled reactor fuel assembly《水冷反应堆燃料组件辐照考验回路设计要求》.pdf EJ T 20014-2012 3125 Design requirements for irradiation test loop of water-cooled reactor fuel assembly《水冷反应堆燃料组件辐照考验回路设计要求》.pdf
  • EJ T 20015-2012 6250 Guidelines on resources and reserves estimation for hard rock type uranium deposits《硬岩型铀矿资源 储量估算指南》.pdf EJ T 20015-2012 6250 Guidelines on resources and reserves estimation for hard rock type uranium deposits《硬岩型铀矿资源 储量估算指南》.pdf
  • EJ T 20026-2012 6250 Natural phenomena hazards performance categorization guidelines for structures systems and components of nuclear facilities other than nuclear power plants《除核动.pdf EJ T 20026-2012 6250 Natural phenomena hazards performance categorization guidelines for structures systems and components of nuclear facilities other than nuclear power plants《除核动.pdf
  • EJ T 20027-2012 0000 Verification of purification coefficient of high efficiency particulate air filter in nuclear air treatment systems Uranin aerosol method《核空气净化系统高效粒子空气过滤器净化系数的.pdf EJ T 20027-2012 0000 Verification of purification coefficient of high efficiency particulate air filter in nuclear air treatment systems Uranin aerosol method《核空气净化系统高效粒子空气过滤器净化系数的.pdf
  • EJ T 20028-2012 2500 Standard specification for impregnated activated carbon used to remove gaseous radio-iodines《去除气态放射性碘的浸渍活性炭规范》.pdf EJ T 20028-2012 2500 Standard specification for impregnated activated carbon used to remove gaseous radio-iodines《去除气态放射性碘的浸渍活性炭规范》.pdf
  • 相关搜索

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

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