【单选题】【消耗次数:1】
C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
void
long
int
double
参考答案:
复制
纠错
相关题目
【单选题】 在C语言中,确定函数返回值的类型由(   )
①  return语句中的表达式类型决定
②  调用该函数的主函数类型决定
③  调用函数时临时决定
④  定义函数时所指定的函数类型决定
【单选题】 C语言中规定函数的返回值的类型是由
①  return语句中的表达式类型所决定
②  调用该函数时的主调用函数类型所决定
③  调用该函数时系统临时决定
④  在定义该函数时所指定的类型所决定
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为(????)。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址
③  指向函数的指针
④  函数的地址
【单选题】 函数返回值类型是由()
①  return语句的表达式类型决定
②  则主调函数接收变量类型决定
③  调用函数时系统随机分配决定
④  定义函数时所指定的函数类型决定
【单选题】 以下函数fun的返回值类型为( )。fun(double x){ ……}
①  int
②  void
③  无法确认类型
④  double
【单选题】 C语言规定,函数返回值的类型是由()决定的。
①  return语句中的表达式类型
②  调用该函数时的主调函数类型
③  调用该函数时由系统临时
④  在定义函数时所指定的函数类型
【单选题】 已定义以下函数 fun(int*p) {return*p;} 该函数的返回值是()
①  不确定的值
②  形参p中存放的值
③  形参p所指存储单元中的值
④  形参p的地址值
【单选题】 MsgBox 函数返回值的类型是?
①  数值或字符串
②  字符串
③  变体
④  整型数值
随机题目
【判断题】 请判断下句是否语法正确。She came run back to tell us the news.
①  正确
②  错误
【判断题】 请判断下句是否语法正确。Being ill, he didnt go to school yesterday.
①  正确
②  错误
【判断题】 请判断下句是否语法正确。Mary stood at the school gate wait for Betty.
①  正确
②  错误
【单选题】 All the while he was terrified by the fear _______ he had cancer of the stomach.
①  which
②  that
③  what
④  such
【单选题】 Iwouldalways________buyingagoodqualitycarratherthanacheapone.
①  appreciate
②  approve
③  introduce
④  recommend
【单选题】 2. Asudden ________ of anger arouse in him
①  feeling
②  impulse
③  sense
④  emotion
【单选题】 Asthemanagersprivatesecretary,Helenhaseasy_______toallhiscorrespondence.
①  access
②  approach
③  accent
④  response
【单选题】 Theroadtotheislandonlyappearswhenthetidehas_______.
①  sprinkled
②  receded
③  tilted
④  diminished
【单选题】 Johnplaysfootball,ifnotbetterthan,______David.
①  as well
②  as well as
③  so well
④  so well as
【单选题】 Whatsurprisedmewasnotwhathesaidbut_______hesaidit.
①  the way
②  in the way that
③  in the way
④  the way which