【单选题】【消耗次数:1】
函数默认参数在函数原型中说明,默认参数必须放在参数序列的( )
前部
中部
后部
两端
参考答案:
复制
纠错
相关题目
【单选题】 函数默认参数在函数原型中说明,默认参数必须放在参数序列的( )
①  前部
②  中部
③  后部
④  两端
【判断题】 函数的参数不可以设定默认值。
①  正确
②  错误
【单选题】 在函数调用时,如某一默认参数要指明一个特定值,则有( )
①  其之前所有参数都必须赋值
②  其之后所有参数都必须赋值
③  其前、后所有参数都必须赋值
④  其前、后所有参数都不必赋值
【单选题】 在函数调用时,如某一默认参数要指明一个特定值,则有( )
①  其之前所有参数都必须赋值
②  其之后所有参数都必须赋值
③  其前、后所有参数都必须赋值
④  其前、后所有参数都不必赋值
【单选题】 在函数定义的参数表中,也可以使用函数参数,假定一个函数参数说明为int ff(int),则等价的函数指针说明为( )。
①  int *ff(int)
②  int ff
③  int *ff
④  int (*ff)(int)
【单选题】 在函数定义的参数表中,也可以使用函数参数,假定一个函数参数说明为int ff(int),则等价的函数指针说明为( )。
①  int *ff(int)
②  int ff
③  int *ff
④  int (*ff)(int)
【判断题】 数组作为函数参数有两种方法,分别是单个数组元素作函数参数和数组名作函数参数。
①  正确
②  错误
【单选题】 下列函数中,()函数不需要参数。
①  A.DATE
②  B.DAY
③  C.TODAY
④  D.TIME
【多选题】 函数从传递参数的角度分为()
①  库函数
②  自定义函数
③  有参函数
④  无参函数
【单选题】 假定一个函数的数组参数说明为char a[],则与之等价的指针参数说明为( )。
①  char
②  char* a
③  char a
④  char** a
随机题目
【单选题】 ---Ithinkyou’dbettertypethisletteragainbeforeMr.Smithseeit.---Oh,dear!___________.
①  Whocares?
②  Noproblem
③  Idon’tmindatall
④  Isitasbadasthat?
【单选题】 Recentlythenewspapershavereportedseveral____-ontheboundariesofIsraelandJordan
①  accidents
②  incidents
③  events
④  happenings
【单选题】 Afterthewar,anewschoolbuildingwasputup_____therehadoncebeenatheatre.
①  that
②  where
③  which
④  when
【单选题】 Thebuildingsandthelandscapearewell__________.
①  combined
②  alternated
③  gathered
④  integrated
【单选题】 Excusemefor_____youwithsuchasmallmatter.
①  questioning
②  troubling
③  interrupting
④  keeping
【单选题】 —I’mgoingtoAmericaforaholidaynextweek.—.
①  Goodbye
②  Wishyousuccess
③  Forsure
④  That’sgreat
【单选题】 Noonehasyetsucceededinexplainingthe_________ofhowlifebegan
①  logic
②  puzzle
③  cause
④  problem
【单选题】 Alotof_______mustbemadetotheeconomicsystem.
①  forms
②  formation
③  reforms
④  transforms
【单选题】 Witheverythingsheneeded    ,shewentoutoftheshop,withherhandsfullofshoppingbags.
①  bought
②  tobuy
③  buying
④  buy
【单选题】 --Howoftendoyougodancing?--_________________________
①  Iwillgodancingtomorrow.
②  Yesterday.
③  Everyotherday.
④  Ivebeendancingforayear.