网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下面程序的运行结果是

#include

void main()

{

int num=1;

int &ref=num:

ref=ref+2;

cout<(num;

num=num+3;

cout<<

}

A.13

B.16

C.36

D.33


参考答案

更多 “ 下面程序的运行结果是#includevoid main(){int num=1;int ref=num:ref=ref+2;cout(num;num=num+3;cout}A.13B.16C.36D.33 ” 相关考题
考题 下面程序的运行结果是( )。includeiostream.h void main{int num=1:intref=num; ref=ref+2:coutnum: num=num+3: coutrefendl:}A.13B.16C.36D.33

考题 下面程序的运行结果为includeclass A{int num;public:A(int i){num=i;}A(A a) 下面程序的运行结果为 #include<iostream.h> class A { int num; public: A(int i){num=i;} A(A a) { num = a.num+ +;} void print( ) {cout << num;} }; void main( 0 { A a (1),b (a) ; a.print( ); b.A.11B.12C.21D.22

考题 下面程序的运行结果是includevoid main( 0{ int num =1; int ref = num; ref= 下面程序的运行结果是 #include<iostream.h> void main( 0 { int num =1; int ref = num; ref=ref+2; cout << num; num = num+3; cout < < ref < < end1; }A.13B.16C.36D.33

考题 下面程序的运行结果是 include Void main( ) { int num=1; int ref=num;ref= 下面程序的运行结果是#include<iostream.h>Void main( ){int num=1;int ref=num;ref=ref+2;cout < < num;num=num+3;cout < < ref < <endl;}A.13B.16C.36D.33

考题 下列程序的输出结果是【】include using namespace std; int main() { int num=500; int 下列程序的输出结果是【 】include<iostream>using namespace std;int main(){int num=500;int ref=num;ref +=100;cout<<num<<end1;return 0;}

考题 下面程序的运行结果为includeclass A{ int num;public: A(int){num=i;} A(ABm){num 下面程序的运行结果为 #include<iostream.h> class A { int num; public: A(int){num=i;} A(ABm){num=a.num++;} void print(){cout<<num;} }; void main() { Aa(1),b(a); a.print(); b.print(); }A.11B.12C.21D.22

考题 下面程序的运行结果是( )。 #includeiostream.h void main { int num=1: intref=num; ref=ref+2: coutnum: num=num+3: coutrefendl: }A.13B.16C.36D.33

考题 下列程序的输出结果是【】 include using namespace std; int main() { int Bum=500; in 下列程序的输出结果是【 】include<iostream>using namespace std;int main(){int Bum=500;int ref=num;ref+=100;cout<<num<<end1;return 0;}

考题 下面程序的运行结果是includevoid main(){int num=1;int ref=num;ref=ref+2;c 下面程序的运行结果是 #include<iostream.h> void main() { int num=1; int ref=num; ref=ref+2; cout<<num; num=num+3; cout<<ref<<end1; }A.13B.16C.36D.33