填空题

在关系运算中, 【4】 运算是对两个具有公共属性的关系所进行的运算。

【参考答案】

自然连接
<上一题 目录 下一题>
热门 试题

单项选择题
以下程序的执行结果为( )。 #include <iostream.h> class Sample int n; public: Sample(int i) n=i; operator++() n++; 前缀重载运算符 operator++(int) n+=2; 后缀重载运算符 void disp() cout<< n= <<n<<endl; ; void main() Sample A(2),B(2); A++; ++B;
A.disp();A.disp();
A.n=4
B.n=1
C.n=3
D.n=5
n=3 n=2 n=4 n=6
单项选择题
下列程序的输出结果是( )。 #include<iostream> using namespace std; int main() char a[]= Hello,World ; char*ptr = a; while(*ptr) if(*ptr>= ’a’ &&*ptr<=’z’) cout<<char(*ptr+’A’-’a’); else cout<<*ptr; ptr++; retur 0;
A.HELLO, WORLD
B.Hello, World
C.HELLO, world
D.hello, world
相关试题
  • 有如下类声明: class MyClass int i;...
  • 语句cout<<setiosflagags(ios::showpo...
  • 阅读下面程序: #include <iostream.h...
  • 下面程序的运行结果是 【13】 。 #in...
  • 头文件 【8】 中包含了处理用户控制的文...