题目内容

若已经声明了函数原型如下:bool fun(bool a,int b=0);则下列重载函数声明中正确的是( )。

A. bool fun(bool a=true,int b=0);
B. int fun(bool a,int B=0);
C. void fun(bool a, int b=0);
D. void fun(double a,int B);

查看答案
更多问题

已知程序中已经定义了函数test,其原型如下:int test(int, int, int);则下列重载形式中正确的是( )。

A. char test(int,int,int);
B. int test(int,int,double);
C. int test(int,int,int=0);
D. int TEST(int,int);

为了取代C中带参数的宏,在C++中使用了( )。

A. 重载函数
B. 内联函数
C. 递归函数
D. 友元函数

设A为5阶方阵,齐次线性方程组Ax=0的基础解系中有2个解向量,则矩阵A的秩为

A. 1
B. 0
C. 2
D. 3

构成多核苷酸链骨架的关键是:

A. 2′3′-磷酸二酯键
B. 3′5′-磷酸二酯键
C. 2′5′-磷酸二酯键
D. 3′4′-磷酸二酯键

答案查题题库