【多选题】【消耗次数:1】
以下正确的说法有()
C语言程序的基本组成单位是函数;
一个函数的类型为void,在定义时,可以省略void;
函数声明是一条C语句;
函数必须要有返回值;
参考答案:
复制
纠错
相关题目
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 在C语言中,确定函数返回值的类型由(   )
①  return语句中的表达式类型决定
②  调用该函数的主函数类型决定
③  调用函数时临时决定
④  定义函数时所指定的函数类型决定
【单选题】 C语言规定,函数返回值的类型是由()决定的。
①  return语句中的表达式类型
②  调用该函数时的主调函数类型
③  调用该函数时由系统临时
④  在定义函数时所指定的函数类型
【单选题】 定义一个void型函数意味着调用该函数时,函数(  )。
①  通过return返回一个用户所希望的函数值
②  返回一个系统默认值
③  没有返回值
④  返回一个不确定的值
【单选题】 C语言中规定函数的返回值的类型是由
①  return语句中的表达式类型所决定
②  调用该函数时的主调用函数类型所决定
③  调用该函数时系统临时决定
④  在定义该函数时所指定的类型所决定
【单选题】 一个函数返回值的类型是由( )决定的。
①  return语句中表达式的类型
②  在调用函数时临时指定
③  定义函数时指定的函数类型
④  调用该函数的主调函数的类型
【单选题】 一个C语言程序的基本组成单位是( )。
①  主程序
②  子程序
③  过程
④  函数
【单选题】 当一个函数没有返回值时,该函数类型应说明为()。
①  void
②  int
③ 
④  任意
【单选题】 C++中函数返回值的类型是由()决定的。
①  return语句中表达式的类型
②  函数定义时的类型
③  调用函数时的调用语句
④  系统根据结果
【单选题】 C++中函数返回值的类型是由(????)决定的。
①  return语句中表达式的类型?
②  函数定义时的类型
③  调用函数时的调用语句?
④  系统根据结果
【单选题】 C++中函数返回值的类型是由()决定的。
①  return语句中表达式的类型
②  该函数定义时的类型
③  调用函数时的调用语句
④  系统根据结果
随机题目
【简答题】 选材的原则和要求有;切题、[填空1]、典型、新鲜。
【简答题】 Translate the sentence by using “subject clause”or“find oneself+prep./V-ing/V-ed”.4. I _____________ everything she said. (我同意)
【简答题】 Translate the following sentence into ChineseThis is an important meeting. Please see to it that you are not late for it.
【简答题】 Translate the following sentence into English.他比赛失败在很大程度上是由于粗心。
【简答题】 Direction: Fill in the blanks with the wordsor phrasesgiven below. Change the form if necessary.[tender; suffer; in anxiety; crave; choke; plague; with a sigh; dull; nonsense; threshold]2. Fish and seabirds mistake plastic for food and[填空1]to death.
【简答题】 Direction: Fill in the blanks with thephrases given below. Change the form if necessary.[sell out; in other words; consist of; stand for; rely on; demand for; engage in; at hand; yield to; confront with]6. A great deal will be[填空1]him as he is the director of the organization.
【简答题】 Directions: Fill in the blanks with the words given below. Change the form if necessary.(pros and cons; allocation; update; complexity; infancy; initially; minimal;strategically; grab; digest)7. The solution to this problem are in their[填空1].
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[dodge; mean; tease; disability; regular; bonus; proclaim; universal]2. Shy film stars[填空1]cameras.
【简答题】 Direction: Fill in the blanks with the wordsor phrasesgiven below. Change the form if necessary.[tender; suffer; in anxiety; crave; choke; plague; with a sigh; dull; nonsense; threshold]4. You will[填空1]one day for your carelessness.
【简答题】 为什么说中共十一届三中全会是你新中国成立以来伟大的历史转折?