【判断题】【消耗次数:1】
函数定义时,函数首部包含三个部分:返回值类型、函数名和函数参数
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 函数返回值类型是由()
①  return语句的表达式类型决定
②  则主调函数接收变量类型决定
③  调用函数时系统随机分配决定
④  定义函数时所指定的函数类型决定
【判断题】 函数定义分为两个部分,函数首部和函数体。
①  正确
②  错误
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址
③  指向函数的指针
④  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为(????)。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 当一个函数没有返回值时,该函数类型应说明为()。
①  void
②  int
③ 
④  任意
【单选题】 一个函数返回值的类型是由( )决定的。
①  return语句中表达式的类型
②  在调用函数时临时指定
③  定义函数时指定的函数类型
④  调用该函数的主调函数的类型
【判断题】 在PHP中,定义函数时可以没有返回值。
①  正确
②  错误
【单选题】 MsgBox 函数返回值的类型是?
①  数值或字符串
②  字符串
③  变体
④  整型数值
随机题目
【单选题】 The man told me that by the end of the week he _______ away from his hometown for 20 years.
①  has been
②  will have been
③  is to be
④  would have been
【单选题】 Although he did not know London well, he made his way ______ to the airport.
①  easy enough
②  enough
③  easily enough
④  enough easily
【单选题】 The world is trying every means to _____the friendship between the two countries.
①  raise
②  promote
③  arise
④  protest
【单选题】 One rainy night the policeman had a chance _____ with a gang of smugglers.
①  acquaintance
②  encounter
③  account
④  interview
【单选题】 Let’s make it round 9 o’clock.____________
①  No. I think so.
②  I am proud of you!
③  It’s impossible.
④  Would some time later be convenient?
【单选题】 After driving for thirty miles, she suddenly realized that she ()in the wrong direction.
①  was driving
②  has been driving
③  had been driving
④  drove
【单选题】 I am not sure whether I can gain any profit from the investment, so I can’t make a(n) ____ tohelp you.
①  exact
②  defined
③  definite
④  sure
【单选题】 It was a(n) _______ achievement ― no one has ever won the championship five times before.
①  single
②  unique
③  only
④  sole
【单选题】 There are many children()behaviour is generally unacceptable.
①  who
②  whom
③  whose
④  that
【单选题】 Happy New Year to you. ____________
①  The same to you.
②  Yes, I am happy.
③  What about you.
④  Very well, thanks.