填空题

表达式x.operator+(y.operator++(0))还可以写成 【14】 。

【参考答案】

x+y++或x+(y++)
<上一题 目录 下一题>
热门 试题

填空题
下面程序的功能是将字符数组a中下标值为偶数的元素从小到大排列,其他元素不变,请填空。 #include<iostream.h> #include <string.h> void main() char a[]= clanguage ,t; inti,j,k; k=strlen(a); for(i:0;i<=k-2;i+=2) for(j=i+2;j<=k; 【9】 ) if( 【10】 ) t=a[i]; a[i] =a[j]; a[j] =t; cout<<a; cout<<endl;
填空题
请定义一个函数名为A,返回值为int,没有参数的纯虚函数的定义是 【13】 。
相关试题
  • 假设fin是一个文件流对象,则关闭文件的语...