【单选题】【消耗次数:1】
若定义了函数 double *function(), 则函数function的返回值为()。
实数型
实数的地址C.指向函数的指针
函数的地址
参考答案:
复制
纠错
相关题目
【单选题】 若定义了函数 double *function(), 则函数function的返回值为(????)。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址
③  指向函数的指针
④  函数的地址
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 若主调用函数类型为double,被调用函数定义中没有进行函数类型说明,而return语句中的表达式类型为float型,则被调函数返回值的类型是(  )。
①  int 型
②  float 型
③  double 型
④  由系统当时的情况而定
【判断题】 对于一个返回值为指针的函数,能返回auto型局部变量的地址,但不能返回static型变量的地址。
①  正确
②  错误
【判断题】 Function函数一定有参数传递,并且一定有返回值。
①  正确
②  错误
【单选题】 以下函数fun的返回值类型为( )。fun(double x){ ……}
①  int
②  void
③  无法确认类型
④  double
【单选题】 当文件指针已经指向文件尾时,EOF()函数的返回值是?
①  Null
②  1
③  False
④  True
【单选题】 已定义以下函数 fun(int*p) {return*p;} 该函数的返回值是()
①  不确定的值
②  形参p中存放的值
③  形参p所指存储单元中的值
④  形参p的地址值
【单选题】 如果某函数的返回值是个对象,则该函数被调用时,返回的对象()。
①  是通过复制构造函数初始化的
②  是通过无参构造函数初始化的
③  用哪个构造函数初始化取决于函数的return语句是怎么写的
④  不需要初始化
随机题目
【判断题】 A: Could you mail the letter for me? B: Yes, I could.
①  正确
②  错误
【判断题】 A: Could I borrow your CD of English songs? B: Im sorry. Its not at hand now.
①  正确
②  错误
【判断题】 A: Please pass me the magazine. B: Give it to you.
①  正确
②  错误
【单选题】 Jack is [填空] teacher.He likes playing [填空] pingpang.
①  a,the
②  an,the
③  a,/
④  an,/
【单选题】 Xinan River is [填空] longest river in [填空] Huangshan.
①  the,/
②  a,/
③  an,/
④  /,/
【单选题】 She has [填空] orange T-shirt. [填空] T-shirt is nice.
①  a,The
②  an,The
③  an,A
④  the,The
【单选题】 [填空] panda is [填空] China.
①  The,a
②  A,the
③  The,from
④  The,the
【单选题】 They passed the museum [填空] day before yesterday.
①  an
②  one
③  a
④  the
【单选题】 It is [填空] useful DV.Ive watched it for [填空] hour.
①  the,an
②  a,an
③  an,a
④  an,the
【单选题】 We cant see [填空] light at [填空] night.
①  the,the
②  the,/
③  a,/
④  /,/