阅读以下程序,此程序的功能是 [8] 。 #include<iostream.h> void main() int n, i, j; for(i=100;i<999; i+100) for(j=i/100:j<=99;j=j+10) n=i+j; cout<<" "<<n; cout<<"\n";
查看答案
构造函数与析构函数所调用的虚函数是 [11] 的函数, 因此调用时实现的是 [12] 联编。
下列程序的输出结果是 [10] 。 #include<iostream.h> #include<string.h> void main() char b[30]; strcpy(&b[0],"XY"); strcpy(&b[1],"YZW"); strcpy(&b[2],"ZXY"); cout<<b<<end1;
若a是值为3的整型变量,则在计算表达式a=3*4,a*5后,a的值为 [6] 。