【单选题】【消耗次数: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返回一个用户所希望的函数值
②  返回一个系统默认值
③  没有返回值
④  返回一个不确定的值
随机题目
【单选题】 Wow. That’s a marvelous room. I’ve never known you’re so artistic!____________
①  Thank you for your compliments.
②  Don’t mention it.
③  Great, I am very art-conscious.
④  It’s fine.
【单选题】 Could you make an appointment with Doctor Wilson for me?____________
①  I cannot do it for you.
②  Im afraid all the appointments are filled.
③  You can have it.
④  Can I help you?
【单选题】 This box is too heavy for me to carry upstairs.__________
①  You may ask for help.
②  Let me give you a hand.
③  Please do me a favor.
④  I’d come to help
【单选题】 He cannot be tired _______ he has walked only half a mile.
①  since
②  whether
③  when
④  as long as
【单选题】 The idea of winning the eyes of the people around ____ powerfully to some youngsters, so they are eagerly identifying themselves.
①  defy
②  expel
③  attract
④  appeals
【单选题】 The top of the Great Wall is _______ for five horses to go side by side.
①  wide
②  wide enough
③  enough wide
④  so wide
【单选题】 Charles regretted ______ the TV set last year. The price has now come down.
①  buying
②  to buy
③  of
④  from
【单选题】 I didn’t mean to do that. Please forgive me.____________
①  Not too bad.
②  Never mind.
③  It’s a pleasure.
④  Thank you.
【单选题】 No sooner _______ than they began to work.
①  they had arrived
②  they would arrive
③  had they arrived
④  would they arrive
【单选题】 Louis was asked to ___ the man who stole her purse.
①  confirm
②  recognize
③  claim
④  identify