【单选题】【消耗次数:1】
在程序中执行到( )语句时,将结束所在函数的执行过程,返回到调用该函数的位置。
continue
break
goto
return
参考答案:
复制
纠错
相关题目
【单选题】 在程序中执行到( )语句时,将结束所在函数的执行过程,返回到调用该函数的位置。
①  continue
②  break
③  goto
④  return
【单选题】 若要结束所在函数的执行,返回到调用该函数的位置,应选择使用的语句是?
①  continue
②  break
③  goto
④  return
【单选题】 当在程序中执行到( )语句时,将结束所在循环语句中循环体的一次执行。
①  continue
②  break
③  goto
④  return
【单选题】 当在程序中执行到( )语句时,将结束所在循环语句中循环体的一次执行。
①  continue
②  break
③  goto
④  return
【单选题】 当在程序中执行到( )语句时,只结束本层循环类语句或switch语句的执行。
①  continue
②  break
③  goto
④  return
【单选题】 当在程序中执行到( )语句时,只结束本层循环类语句或switch语句的执行。
①  continue
②  break
③  goto
④  return
【单选题】 已知X类,则当程序执行到语句:X array[3];时,调用了( )次构造函数。
①  0
②  1
③  2
④  3
【单选题】 已知X类,则当程序执行到语句:X array[3];时,调用了( )次构造函数。
①  0
②  1
③  2
④  3
【判断题】 有返回值的函数,结束函数运行时可以不使用return语句。
①  正确
②  错误
【单选题】 如果某函数的返回值是个对象,则该函数被调用时,返回的对象()。
①  是通过复制构造函数初始化的
②  是通过无参构造函数初始化的
③  用哪个构造函数初始化取决于函数的return语句是怎么写的
④  不需要初始化
随机题目
【多选题】 I doubt_____________ he will give me a good job.
①  if
②  what
③  where
④  whether
【单选题】 Waiter: __________Customer: Yes.I’llhavesomesalad,roastbeef,andmashedpotatoes.
①  Areyoureadytoordernow?
②  Doyouwantthemenu?
③  Doyoulikethesefood?
④  Whatdoyouwanttoeat?
【单选题】 Alice: Natalie must have left since your plane arrived so late.Sam: To my surprise, I found her waiting for me at the airport.Alice: ___________
①  What a pity.
②  How kind.
③  Good for her.
④  No kidding.
【单选题】 John always ______________ elder people politely.
①  treat
②  treated
③  treats
④  treating
【单选题】 Younevertoldmeyouhaveseenthefilm,________?
①  hadyou
②  didntyou
③  didyou
④  werentyou
【单选题】 Japan _____________ cars, television sets, computers and other products.
①  pollutes
②  publishes
③  punishes
④  produces
【判断题】 答题说明:句子没有语法错误请选择“正确”,有语法错误请选择“错误”Two brilliant ideas made possible the mass production of automobiles.
①  正确
②  错误
【判断题】 答题说明:句子没有语法错误请选择“正确”,有语法错误请选择“错误”Automobiles became more cheaper and more and more people were able to afford them.
①  正确
②  错误
【判断题】 答题说明:句子没有语法错误请选择“正确”,有语法错误请选择“错误”Computers never forgot anything theyve been told.
①  正确
②  错误
【判断题】 答题说明:句子没有语法错误请选择“正确”,有语法错误请选择“错误”Her great knowledge of African customs and religion helped start the sociological study of Africa.
①  正确
②  错误