【单选题】【消耗次数:1】
静态成员函数不能说明为()
整型函数
浮点函数
虚函数
字符型函数
参考答案:
复制
纠错
相关题目
【单选题】 下列哪个类型函数不适合声明为内联函数( )
①  函数体语句较多
②  函数体语句较少
③  函数执行时间较短
④  函数执行时间过长
【单选题】 下列哪个类型函数不适合声明为内联函数( )
①  函数体语句较多
②  函数体语句较少
③  函数执行时间较短
④  函数执行时间过长
【单选题】 定义一个void型函数意味着调用该函数时,函数(  )。
①  通过return返回一个用户所希望的函数值
②  返回一个系统默认值
③  没有返回值
④  返回一个不确定的值
【判断题】 函数的参数可以是整型、浮点型、字符型等数据。
①  正确
②  错误
【单选题】 静态成员函数没有()
①  返回值
②  this指针
③  指针参数
④  返回类型
【单选题】 关于类的静态成员函数描述错误的是( )
①  在创建对象前不存在
②  不能说明为虚函数
③  不能直接访问非静态函数
④  不是对象的成员
【单选题】 关于类的静态成员函数描述错误的是( )
①  在创建对象前不存在
②  不能说明为虚函数
③  不能直接访问非静态函数
④  不是对象的成员
【单选题】 在函数定义的参数表中,也可以使用函数参数,假定一个函数参数说明为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)
【单选题】 下列的各类函数中,( )不是类的成员函数
①  构造函数
②  析构函数
③  友元函数
④  复制构造函数
随机题目
【单选题】 They invited the three of ____, Bob, Joe, and ____.
①  us…me
②  we… we
③  us…I
④  we…I
【单选题】 His explanation is not at all clear. I find it ____.
①  essential
②  confusing
③  awful
④  puzzled
【单选题】 Things never went _____ as we had expected
①  so smoothly
②  smooth
③  so smooth
④  smoothly
【单选题】 Everyone of them _______ tired and wanted a good rest.
①  seems
②  is seemed
③  was seemed
④  seemed
【单选题】 Peter: How about going to the movies tonight then?Mary: ____
①  I don’t know.
②  The movie is very interesting.
③  That sounds good.
④  The movie is very boring.
【单选题】 John was going to _______ Mary by telling his friends how much weight she had gained.
①  essential
②  embarrass
③  elementary
④  consider
【单选题】 The classroom is quite clean ____ some waste paper on the floor.
①  without
②  besides
③  except
④  except for
【单选题】 -- What day is today?-- Today is ______ .
①  March 25th
②  Saturday
③  fine
④  cold
【单选题】 All the men were under heavy____ working day and night
①  prize
②  rain
③  pressure
④  reward
【单选题】 —I’ve got an offer in New York. —Oh, ____! But I’m going to miss you.
①  That’s too bad
②  I’m sorry
③  I beg your pardon
④  That’s great