题目内容

在C++程序中,如果要求通过函数来实现一种简单的功能,并且要求尽可能加快程序的执行速度,则应该选用( )。

A. 内联函数
B. 重载函数
C. 递归调用
D. 嵌套调用

查看答案
更多问题

下列有关指针的用法中错误的是( )。

A. int i;int *p=&i;
B. int i;int *p;i=*p;
C. int *p;p=0;
D. int i=5;int *p;p=&i;

The client ______ about transferring her money from her checking account to a high interest savings account.

A. proposed
B. requested
C. inquired
D. found

下列是重载为非成员函数的运算符函数原型,其中错误的是( )。

A. Fraction operator+(Fraction,Fraction);
B. Fraction operator-(Praction);
C. Fraction& operator=(Fraction&,Fraction);
D. Fraction& operator+=(Fraction&,Fraction);

Judith Gates ______ on the community board for 15 years by the time she steps down next fall.

A. will serve
B. will have served
C. would serve
D. would have served

答案查题题库