【单选题】【消耗次数:1】
在C语言中,确定函数返回值的类型由(   )
return语句中的表达式类型决定
调用该函数的主函数类型决定
调用函数时临时决定
定义函数时所指定的函数类型决定
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 C语言规定,函数返回值的类型是由()决定的。
①  return语句中的表达式类型
②  调用该函数时的主调函数类型
③  调用该函数时由系统临时
④  在定义函数时所指定的函数类型
【单选题】 若主调用函数类型为double,被调用函数定义中没有进行函数类型说明,而return语句中的表达式类型为float型,则被调函数返回值的类型是(  )。
①  int 型
②  float 型
③  double 型
④  由系统当时的情况而定
【单选题】 C++中函数返回值的类型是由()决定的。
①  return语句中表达式的类型
②  该函数定义时的类型
③  调用函数时的调用语句
④  系统根据结果
【单选题】 C++中函数返回值的类型是由()决定的。
①  return语句中表达式的类型
②  函数定义时的类型
③  调用函数时的调用语句
④  系统根据结果
【单选题】 C++中函数返回值的类型是由(????)决定的。
①  return语句中表达式的类型?
②  函数定义时的类型
③  调用函数时的调用语句?
④  系统根据结果
【单选题】 一个函数返回值的类型是由( )决定的。
①  return语句中表达式的类型
②  在调用函数时临时指定
③  定义函数时指定的函数类型
④  调用该函数的主调函数的类型
【单选题】 C语言中规定函数的返回值的类型是由
①  return语句中的表达式类型所决定
②  调用该函数时的主调用函数类型所决定
③  调用该函数时系统临时决定
④  在定义该函数时所指定的类型所决定
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 函数返回值类型是由()
①  return语句的表达式类型决定
②  则主调函数接收变量类型决定
③  调用函数时系统随机分配决定
④  定义函数时所指定的函数类型决定
【判断题】 作为表达式的函数调用,被调用函数必须有返回值。
①  正确
②  错误
随机题目
【单选题】 Teaching is not a profession financially ( ).
①  reward
②  return
③  returning
④  rewarding
【单选题】 The company has maintained trade ( ) with Germany.
①  link
②  communication
③  contact
④  relation
【单选题】 Our children ( ) the same high school.
①  participate
②  take part
③  go
④  attend
【单选题】 “The first responsibility of government is the security of its own citizens, and we will ( ) our diplomatic efforts toward fulfilling that commitment,” he said.
①  oriented
②  orientation
③  oriental
④  orient
【单选题】 Writing such books in the age of the Internet proves both a ( ) and a curse.
①  bless
②  blessing
③  blessed
④  good
【单选题】 I knocked on the door but there was no ( ).
①  respond
②  response
③  react
④  reaction
【单选题】 The hotel has special ( ) for disabled people.
①  system
②  tools
③  help
④  facilities
【单选题】 In the east there is the slightest glimmer ( ) light.
①  of
②  for
③  with
④  about
【单选题】 ( ) the power cuts, the school continued to function normally.
①  In spite
②  Despite
③  Even if
④  Though
【单选题】 In addition ( ) the killed and wounded, many were missing.
①  with
②  toward
③  to
④  of