【单选题】【消耗次数:1】
下列哪个类型函数不适合声明为内联函数( )
函数体语句较多
函数体语句较少
函数执行时间较短
函数执行时间过长
参考答案:
复制
纠错
相关题目
【单选题】 下列哪个类型函数不适合声明为内联函数( )
①  函数体语句较多
②  函数体语句较少
③  函数执行时间较短
④  函数执行时间过长
【判断题】 功能指令的执行时间是其设定线圈执行时间和执行线圈执行时间之和。
①  正确
②  错误
【判断题】 有返回值的函数,结束函数运行时可以不使用return语句。
①  正确
②  错误
【单选题】 假定一个函数的参数说明为const int* a,则在函数体中执行( )操作非法。
①  printf(“%d”,*a)
②  a==NULL
③  *a=20
④  a=NULL
【单选题】 假定一个函数的参数说明为const int a,则在函数体中执行( )操作非法。
①  printf(“%d”,a)
②  a==0
③  int x=a
④  a=10
【单选题】 假定一个函数的参数说明为const int a,则在函数体中执行( )操作非法。
①  printf(“%d”,a)
②  a==0
③  int x=a
④  a=10
【单选题】 假定一个函数的参数说明为const int* a,则在函数体中执行( )操作非法。
①  printf(“%d”,*a)
②  a==NULL
③  *a=20
④  a=NULL
【单选题】 C语言中函数由()和函数体两部分组成。
①  定义函数时指定的函数返回类型
②  调用该函数的主调函数类型
③  return语句中的表达式类型
④  函数参数类型
【单选题】 C语言中函数由()和函数体两部分组成。
①  定义函数时指定的函数返回类型
②  调用该函数的主调函数类型
③  return语句中的表达式类型
④  函数参数类型
【单选题】 定义一个void型函数意味着调用该函数时,函数(  )。
①  通过return返回一个用户所希望的函数值
②  返回一个系统默认值
③  没有返回值
④  返回一个不确定的值
随机题目
【单选题】 A note has three essential components the addressee, the sender and [].
①  date
②  solution
③  message
④  complimentary close
【单选题】 A precis should be concise; that is, it should be [] than the original material.
①  complicated
②  clearer
③  simpler
【单选题】 Sam, having forgotten to save his work [] lost all of his revisions when his computer crashed.
①  comma
②  dash
③  brackets
④  semicolon
【单选题】 Mr Longman has played the cello for many years [] but he now conducts an orchestra.
①  comma
②  semicolon
【判断题】 The semicolon is used to separate a series of items with internal commas.
①  正确
②  错误
【判断题】 In English, the colon is used after the verb of saying and before a quotation.
①  正确
②  错误
【判断题】 A line is never begun with a comma, a period or a semicolon.
①  正确
②  错误
【判断题】 Words with hyphens can be divided at random.
①  正确
②  错误
【单选题】 It was Monday morning. [] Li Leis grandfather was ill.
①  That
②  When
③  Since
④  /
【单选题】 There was only one thing to do [] study till dawn.
①  comma
②  dash
③  brackets
④  semicolon