单项选择题
如果在表达式++x/y中,++是作为友元函数重载的,/是作为成员函数重载的,则该表达式还可为
A.(operator++(x) ) .operator/(y)
B.(operator++(0) ) .operator/(y)
C.operator/((operator++(x,0) ) ,y)
D.operator/((operator++(0) ) ,y)
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
执行下列程序段,结果是 #include<iostream.h> void main( ) int x=40; char y='C'; int n; n=(x&0) xff) &&(y>'B') ; cout < < n;
A.0
B.1
C.2
D.3
点击查看答案&解析
单项选择题
有如下程序: #inClude<iostream.h> #dehne N 2 #dehne M N+1 #denne NUM 2 * M+1 Void main( ) int i; for(i=1;i<=NUM;i++) cout < < i; 该程序中的fof循环执行的次数是
A.5
B.6
C.7
D.8
点击查看答案&解析
相关试题
下面程序的输出结果是 #include<iostrea...
下列程序是用来判断数组中特定元素的位置所...
以下程序的输出结果是 #include<iostrea...
下列程序的运行结果是 #inClUde<iostrea...
有如下程序: #include<iostream.h> ...