填空题

下列程序的输出结果是______。
#include<iostream>
using namespace std;
int main()
int i=3;
int &r=i; r=5;
cout<<i<<endl;
return 0;

【参考答案】

E
<上一题 目录 下一题>
热门 试题

填空题
数据库管理系统是位于______之间的软件系统。
填空题
有如下程序: #include <iostream> using namespace std; int strle(char a[],char b[]) int num=O,n=O; while (* (a+num) !=’ 0’) num++; while (b [n] ) * (a+num)=b [n]; num++; n++; return(num); int main () char strl[80],str2[80],*p1=str1,*p2=str2; cin>>p1; cin>>p2; cout<<strle(p1,p2)<<end1; return 0; 运行上述程序,如果从键盘输入字符串qwerty和字符串abcd,则程序的输出结果是______。
相关试题
  • 下列程序中需要清理动态分配的数组,划线处...
  • 有如下程序: #include<iostream> usi...
  • 深度为5的满二叉树有______个叶子结点。
  • 假定用户没有给一个名为MyClass的类定义析...