【单选题】【消耗次数:1】
以下基类中的成员函数表示纯虚函数的是()
virtual void tt()=0
void tt(int)=0’
virtual void tt(int)
virtual void tt(int){}
参考答案:
复制
纠错
相关题目
【单选题】 以下基类中的成员函数表示纯虚函数的是()
①  virtual void tt()=0
②  void tt(int)=0’
③  virtual void tt(int)
④  virtual void tt(int){}
【单选题】 以下基类中的成员函数表示纯虚函数的是()
①  virtual void tt()=0
②  void tt(int)=0
③  virtual void tt(int)
④  virtual void tt(int){}
【单选题】 以下基类中的成员函数表示纯虚函数的是()
①  virtual void tt()=0
②  void tt(int)=0
③  virtual void tt(int)
④  virtual void tt(int){}
【单选题】 有说明语句int b[4][5];void fun(int*,int n);调用函数的正确语句是()
①  fun(b,20);
②  fun(b[0],20);
③  fun(b[0][0],20);
④  fun(b,20);
【单选题】 考虑下面的函数原型声明:void testDefaulParam(int a,int b=7,char z=*下面函数调用中,不合法的是( )。
①  testDefaulParam(5);
②  testDefaulParam(5,8);
③  testDefaulParam(5,#
④  testDefaulParam(0,0,*
【单选题】 考虑下面的函数原型声明:void testDefaulParam(int a,int b=7,char z=*);下面函数调用中,不合法的是( )。
①  testDefaulParam(5);
②  testDefaulParam(5,8);
③  testDefaulParam(5,#);
④  testDefaulParam(0,0,*);
【单选题】 有函数原型void fun6(int);在下列选项中,不正确的调用是()
①  int a=21;fun6(a);
②  int a=15;fun6(a3);
③  int b=100;fun6(b);
④  fun6(256);
【单选题】 下面程序执行后的结果是() #include stdio.h void fun( ) { int i,sum=0; int a[5]={1,2,3,4,5}; for (i=0;i { if (a[i]%2==0) { sum+=a[i]; } } printf(%d,sum); } void main( ) { fun( ); }
①  6
②  15
③  9
④  11
【单选题】 下面哪个函数是public void method(){ }的重载函数?( )
①  public void method( int m){ }
②  public int method(){ }
③  public void method2(){ }
④  public int method(int m,float f ){ }
【单选题】 以下程序的运行结果是( )。 void fun(int array[3][3]) { int j; for(j=0;jj++) array[1][j]=array[1][j]++; printf(\n} void main(){ int j,a[3][3]={0,1,2,1,0,4,2,4,5};fun(a);for(j=0;jj++)printf(%d,a[1][j]); printf(\n }
①  1 0 4
②  2 1 5
③  0 1 2
④  1 2 3
随机题目
【判断题】 撰写英语演讲词可以多运用夸张的词语以引起观众的关注
①  正确
②  错误
【判断题】 演讲词的基本组成部分有: 开场时对听众的称呼语、提出论题、论证、结论。
①  正确
②  错误
【判断题】 演讲词的基本特征包括:口语性(有声性)、鼓动性和临场性。
①  正确
②  错误
【单选题】 The party had to be ______ because the host went down with a bad case of flu.
①  called in
②  called off
③  called on
④  called up
【单选题】 She soon _______ the actor who had starred in the popular movie Speed.
①  specified
②  realized
③  justified
④  identified
【单选题】 We collected hundreds of _______ in support of not allowing cars into the city centre.
①  signatures
②  awareness
③  stationery
④  statements
【单选题】 Sincehiswifedied,hehas_______himselfintotheresearchwork.
①  devoted
②  dedicated
③  thrown
④  contributed
【单选题】 Theimprovementsintechnologyhave________thepricesofcomputerconsiderablyinrecentmonths.
①  brought back
②  brought down
③  brought on
④  brought up
【单选题】 Environmentalistsaredoingeverythingwithintheirpowerto_______theimpactoftheoilspill.
①  reject
②  belittle
③  minimize
④  reclaim
【单选题】 He is so kind and easy-going that the kids go _______ him in a big way.
①  for
②  to
③  with
④  off