执行下列语句后,输出结果为cout.put('s');cout<<'c'<<'a';A.caB.seaC.sD.a

执行下列语句后,输出结果为

cout.put('s');

cout<<'c'<<'a';

A.ca

B.sea

C.s

D.a


相关考题:

执行下列语句后,输出的结果为______。void run(){static int x=3;x++;cout<<x<<" ";}int main(){for(int i=0;i<2;i++)fun();return D;}

在下面程序的横线处填上适当的语句,使程序执行后的输出结果为ABCD。 include using nam 在下面程序的横线处填上适当的语句,使程序执行后的输出结果为ABCD。include<iostream>using namespace std;classA{public:A(){cout<<'A';}};class B:______{public:B(){cout<<'B';}};class C:______{public:C(){cout<<'C';}};class D:public B,public C{public:D(){cout<<'D';}};void main(){D obj;)

执行“cout.<<char(‘F’,-2)<<end 1;”语句后得到的输出结果为【 】。

执行下列语句后,输出结果为( )。 cout.put(S); coutCa;A.caB.scaC.SD.a

执行下列语句后,输出结果为cout. put('s');cout<<,'c'<<'a';A.caB.scaC.sD.a

执行下列语句后,输出结果为( )。 cout.put(‘s’); cout<<‘c’<<‘a’;A.caB.scaC.sD.a

执行下列程序语句后,输出结果为()。ineludeusing namespace std;int m=5;int main(){i 执行下列程序语句后,输出结果为( )。 #inelude<iostream> using namespace std; int m=5; int main() { int m=3; m++; ::m++; cout<<m<<end1; return 0; }A.3B.4C.5D.6

要使程序执行后的输出结果为ABCD,应在横线处添加语句()。includeusing namespace std; 要使程序执行后的输出结果为ABCD,应在横线处添加语句( )。 #include<iostream> using namespace std; { public:A(){cout<<'A';} }; class B=______ { public:B(){cout<<'B';} }; class C:virtual public A { public:C(){cout<<'C';} }; class D:public B,public C { public:D(){cout<<'D';} }; void main(){D obj;}A.public AB. private AC.protected AD.virtual public A

执行下列语句后,输出结果为______。s$="ABCDEFG"Print InStr(s$,"efg")Print LCase$(s$)