单项选择题

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

A.Fraction operator+(Fraction,Fraction);
B.Fraction operator-(Fraction);
C.Fraction&operator=(Fraction&,Fraction);
D.Fraction&operator+=(Fraction&,Fraction);
<上一题 目录 下一题>
热门 试题

单项选择题
在数据库系统中,用户所见的数据模式为
A.概念模式
B.外模式
C.内模式
D.物理模式
单项选择题
有如下程序: #include <iostream> using namespace std; int main( ) int*P; *P=9; cout<< The value at P: <<*P: return 0; 编译运行程序将出现的情况是
A.编译时出现语法错误,不能生成可执行文件
B.运行时一定输出:The value at P:9
C.运行时一定输出:The value at P:*9
D.运行时有可能出错
相关试题
  • 已知一个函数模板定义为 template <type...
  • 创建对象数组时,对数组的每一个元素都将调...
  • 有如下程序: #include <iostream> u...
  • 已知递归函数f的定义如下: int f(int ...
  • 已知下列程序的输出结果是42,请将下画线...