【单选题】【消耗次数:1】
C语言中函数由()和函数体两部分组成。
定义函数时指定的函数返回类型
调用该函数的主调函数类型
return语句中的表达式类型
函数参数类型
参考答案:
复制
纠错
相关题目
【单选题】 C语言中函数由()和函数体两部分组成。
①  定义函数时指定的函数返回类型
②  调用该函数的主调函数类型
③  return语句中的表达式类型
④  函数参数类型
【单选题】 若主调用函数类型为double,被调用函数定义中没有进行函数类型说明,而return语句中的表达式类型为float型,则被调函数返回值的类型是(  )。
①  int 型
②  float 型
③  double 型
④  由系统当时的情况而定
【单选题】 在C语言中,确定函数返回值的类型由(   )
①  return语句中的表达式类型决定
②  调用该函数的主函数类型决定
③  调用函数时临时决定
④  定义函数时所指定的函数类型决定
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 C语言中规定函数的返回值的类型是由
①  return语句中的表达式类型所决定
②  调用该函数时的主调用函数类型所决定
③  调用该函数时系统临时决定
④  在定义该函数时所指定的类型所决定
【判断题】 函数定义时,函数首部包含三个部分:返回值类型、函数名和函数参数
①  正确
②  错误
【单选题】 C语言规定,函数返回值的类型是由()决定的。
①  return语句中的表达式类型
②  调用该函数时的主调函数类型
③  调用该函数时由系统临时
④  在定义函数时所指定的函数类型
【单选题】 函数返回值类型是由()
①  return语句的表达式类型决定
②  则主调函数接收变量类型决定
③  调用函数时系统随机分配决定
④  定义函数时所指定的函数类型决定
【单选题】 一个函数定义由( )两部分组成。
①  函数头和函数体
②  函数头和函数尾
③  函数原型和函数体
④  函数名和参数表
【单选题】 一个函数定义由( )两部分组成。
①  函数头和函数体
②  函数头和函数尾
③  函数原型和函数体
④  函数名和参数表
随机题目
【简答题】 Directions: Fill in the blanks with the words given below. Change the form if necessary.[fee; react; expand; besides; quantity; stay; highly; device; customer; commercial]2.I want to know how he[填空1]to our suggestion.
【简答题】 Direction: Fill in the blanks with the phrases given below. Change the form if necessary.[have access to; go off; desperate for; put up with; always the case; give advice; concentrate on; arrive at; make an effort; come in handy]7.Its no wonder,then, that women all over the world are[填空1]a better option.
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/ABD1293A15499D5E36AAB4D675203AE4.png" title="10.png" alt="10.png"/>
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/D7F1520B4EF6626C95379CDCD5008DB9.png" title="4.png" alt="4.png"/>
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/2036318D79F7F6CD8B7E77C8809B140B.png" title="5.png" alt="5.png"/>[填空1]
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/88FE88F0EE2C2E719AC98E20785E9585.png" style="" title="0.png"/><img src="https://huaweicloudobs.ahjxjy.cn/9E63F004D69797EAABB12E1860FF0995.png" style="" title="1.png"/>=[填空1]
【简答题】 Directions: Translate sentence by using “nothing more than”.1. He ___________ (只不过是一个做白日梦者).
【简答题】 Directions: Translate sentence by using “nothing more than”.5. For many people, drinking alcohol___________(只不过是一种愉快的放松方式).
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[integrity; conscience; yield; appoint; assure; ensure; demonstrate; clarify; preserve; scarce]5. The man, who had been[填空1]that the plane would be on time, sighed with relief.
【简答题】 Direction: Fill in the blanks with the phrases given below. Change the form if necessary.[collide with; take hold of; for a moment; head for; ever since; be full of; share with; make fun of]4. As he fell, his head[填空1]the table.