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

相关题目
【单选题】 若主调用函数类型为double,被调用函数定义中没有进行函数类型说明,而return语句中的表达式类型为float型,则被调函数返回值的类型是(  )。
①  int 型
②  float 型
③  double 型
④  由系统当时的情况而定
【单选题】 C语言规定,函数返回值的类型是由()决定的。
①  return语句中的表达式类型
②  调用该函数时的主调函数类型
③  调用该函数时由系统临时
④  在定义函数时所指定的函数类型
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 在C语言中,确定函数返回值的类型由(   )
①  return语句中的表达式类型决定
②  调用该函数的主函数类型决定
③  调用函数时临时决定
④  定义函数时所指定的函数类型决定
【单选题】 C++中函数返回值的类型是由()决定的。
①  return语句中表达式的类型
②  该函数定义时的类型
③  调用函数时的调用语句
④  系统根据结果
【单选题】 C++中函数返回值的类型是由()决定的。
①  return语句中表达式的类型
②  函数定义时的类型
③  调用函数时的调用语句
④  系统根据结果
【单选题】 C++中函数返回值的类型是由(????)决定的。
①  return语句中表达式的类型?
②  函数定义时的类型
③  调用函数时的调用语句?
④  系统根据结果
【单选题】 一个函数返回值的类型是由( )决定的。
①  return语句中表达式的类型
②  在调用函数时临时指定
③  定义函数时指定的函数类型
④  调用该函数的主调函数的类型
【单选题】 定义一个void型函数意味着调用该函数时,函数(  )。
①  通过return返回一个用户所希望的函数值
②  返回一个系统默认值
③  没有返回值
④  返回一个不确定的值
【单选题】 当一个函数没有返回值时,该函数类型应说明为()。
①  void
②  int
③ 
④  任意
随机题目
【单选题】 01. You should be able to_________ right from wrong.
①  perceive
②  distingusih
③  sight
④  observe
【单选题】 04. Your sister has made an_________for you to see the dentist at 3 this afternoon.
①  appointment
②  intervies
③  opportunity
④  assignment
【单选题】 08. It is not that I do not like plays. The reason why I did not go to the theater last night was that I could not ____ the time.
①  offer
②  leave
③  affor
④  manage
【单选题】 02. Any student who _________ his homework is unlikely to pass the examination.
①  reduces
②  offends
③  practices
④  neglects
【单选题】 07. I wrote it down_________I should forget it.
①  incase
②  incaseof
③  inorderthat
④  forfearof
【单选题】 05. The committee is expected to_________ a decision this evening.
①  reach
②  arrive
③  bring
④  take
【单选题】 19. — You cant finish the book in less than an hour,I suppose? —
①  Yes,ImsureIcan
②  No,hardly
③  Sorry,Icant
④  IdontthinkIcan
【单选题】 12. Last year_________ of new books were published on environmental protection.
①  thehundred
②  hundreds
③  ahundred
④  onehundred
【单选题】 20. Its impossible for all the people to get jobs because ______ of them are not fit for them.
①  none
②  all
③  notall
④  everyone
【单选题】 11. Having finished the letter, he_________ it carefully and sealed the envelop with a kiss.
①  folded
②  bent
③  turned
④  curved